wp_is_site_url_using_https
wp_is_site_url_using_https ( No parameters )
See:Returns:- (bool) True if using HTTPS, false otherwise.
Defined at: - Introduced in WordPress: 5.7.0
- Deprecated in WordPress: —
Description
Checks whether the current site's URL where WordPress is stored is using HTTPS.This checks the URL where WordPress application files (e.g. wp-blog-header.php or the wp-admin/ folder)
are accessible.