wpseek.com
WordPress开发者和主题制作者的搜索引擎



pre_wp_get_https_detection_errors › WordPress过滤钩子

Since6.4.0
已弃用n/a
› apply_filters( 'pre_wp_get_https_detection_errors', null )
参数:
  • () pre Error object to short-circuit detection, or null to continue with the default behavior.
    Required: Yes
定义在:
文档:

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.




源码

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