wp_is_home_url_using_https example


function wp_is_using_https() {
    if ( ! wp_is_home_url_using_https() ) {
        return false;
    }

    return wp_is_site_url_using_https();
}

/** * Checks whether the current site URL is using HTTPS. * * @since 5.7.0 * @see home_url() * * @return bool True if using HTTPS, false otherwise. */
Home | Imprint | This part of the site doesn't use cookies.