wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_schedule_https_detection › WordPress Function

Since5.7.0
Deprecatedn/a
wp_schedule_https_detection ( No parameters )
Access:
  • private
Defined at:
Codex:

Schedules the Cron hook for detecting HTTPS support.



Source

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

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