wp-includes/https-detection.php:20Checks whether the website is using HTTPS.
boolfunction wp_is_using_https() { if ( ! wp_is_home_url_using_https() ) { return false; } return wp_is_site_url_using_https();}Introduced in 5.7.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/https-detection.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.