WPDev.one
Core Function
View Source on Trac ↗

wp_is_using_https()

wp_is_using_https( )

Checks whether the website 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