wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



pre_wp_update_https_detection_errors › WordPress Filter Hooks

Seit5.7.0
Veraltetn/v
apply_filters( 'pre_wp_update_https_detection_errors', null )
Parameter:
  • (null|WP_Error) $pre Error object to short-circuit detection, or null to continue with the default behavior.
    Erforderlich: Ja
Definiert in:
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.





Quellcode

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