wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



pre_wp_get_https_detection_errors › Filtr WordPress Hooks

Od6.4.0
Przestarzałyn/a
apply_filters( 'pre_wp_get_https_detection_errors', null )
Parametry:
  • (null|WP_Error) $pre Error object to short-circuit detection, or null to continue with the default behavior.
    Wymagane: Tak
Powrót:
  • ()
Zdefiniowane na:
Codex:

Short-circuits the process of detecting errors related to HTTPS support.

Returning a WP_Error from the filter will effectively short-circuit the default logic of trying a remote request to the site over HTTPS, storing the errors array from the returned WP_Error instead.





Źródło

$support_errors = apply_filters( 'pre_wp_get_https_detection_errors', null );