Alert: 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() WordPress Function
The wp_schedule_https_detection() function is used to schedule a background job that will detect if the site is being loaded over HTTPS and if so, update the site URL.
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' ); } }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
5.7.0 | Introduced. |