pre_wp_get_https_detection_errors

过滤钩子
apply_filters( 'pre_wp_get_https_detection_errors', null )
参数
  • (null|WP_Error) $pre Error object to short-circuit detection, or null to continue with the default behavior.
    Required:
返回值
  • () ()
定义位置
相关勾子
registration_errorspre_get_ready_cron_jobswp_get_object_termspre_get_networkswp_authenticate_application_password_errors
相关方法
wp_get_https_detection_errorswp_update_https_detection_errorsget_settings_errorswp_get_theme_errorwp_get_plugin_errorwp_get_http_headers
引入
6.4.0
弃用
-

缩短与 HTTPS 支持相关的错误检测过程。

从过滤器返回 WP_Error 将有效地缩短尝试通过 HTTPS 向站点发出远程请求的默认逻辑,而是存储返回的 WP_Error 中的错误数组。

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

常见问题

FAQs
查看更多 >
闪电侠

(工作日 10:00 - 18:30 为您服务)

2025-12-05 14:32:54

您好,无论是售前、售后、意见建议……均可通过联系工单与我们取得联系。

您也可选择聊天工具与我们即时沟通或点击查看:

您的工单我们已经收到,我们将会尽快跟您联系!
取消
选择聊天工具: