wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



pre_wp_get_https_detection_errors › Hooks de Filtros WordPress

Desde6.4.0
Obsoleton/a
› apply_filters( 'pre_wp_get_https_detection_errors', null )
Parâmetros:
  • () pre Error object to short-circuit detection, or null to continue with the default behavior.
    Required: Yes
Definido em:
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.




Fonte

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