WPDev.one
Core Function
View Source on Trac ↗

wp_is_home_url_using_https()

wp_is_home_url_using_https( )

Checks whether the current site URL 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