This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

wp_schedule_https_detection()

Schedules the Cron hook for detecting HTTPS support.


Source

File: wp-includes/https-detection.php

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

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


Changelog

Changelog
Version Description
5.7.0 Introduced.