WordPress Version: 5.7
/**
* Schedules the Cron hook for detecting HTTPS support.
*
* @since 5.7.0
* @access private
*/
function wp_schedule_https_detection()
{
if (wp_installing()) {
return;
}
if (!wp_next_scheduled('wp_https_detection')) {
wp_schedule_event(time(), 'twicedaily', 'wp_https_detection');
}
}