wp_schedule_https_detection

函数
wp_schedule_https_detection ( No parameters )

wp_schedule_https_detection: 这是一个WordPress的函数,用来安排HTTPS兼容性的检查。它允许你指定一个时间间隔和一个将在该间隔内执行的回调函数。例如,你可以用这个函数每天检查你的网站是否与HTTPS兼容。

定时检测HTTPS支持的Cron钩子。

function wp_schedule_https_detection() {
	if ( wp_installing() ) {
		return;
	}

	if ( ! wp_next_scheduled( 'wp_https_detection' ) ) {
		wp_schedule_event( time(), 'twicedaily', 'wp_https_detection' );
	}
}

常见问题

FAQs
查看更多 >
闪电侠

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

2025-12-05 20:33:00

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

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

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