Core Function
View Source on Trac ↗ wp_is_site_url_using_https()
wp_is_site_url_using_https( ) Checks whether the current site's URL where WordPress is stored is using HTTPS.
Return Value
(bool)
True if using HTTPS, false otherwise.
Function Information
Since Version
5.7.0
Source File
wp-includes/https-detection.php
Advertisement