wordpress / latest / functions / wp_schedule_https_detection.html

wp_schedule_https_detection()

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.

Schedules the Cron hook for detecting HTTPS support.

Source

File: wp-includes/https-detection.php. View all references

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

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

Uses

Uses Description

Changelog

Version Description
5.7.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_schedule_https_detection