WordPress at a glance
function is not described

wc_checkout_is_https() WC 2.5.0

Check if the checkout is configured for https. Look at options, WP HTTPS plugin, or the permalink itself.

No Hooks.

Return

true|false. Nothing.

Usage

wc_checkout_is_https();

Changelog

Since 2.5.0 Introduced.

Code of wc_checkout_is_https() WC 5.3.0

<?php
function wc_checkout_is_https() {
	return wc_site_is_https() || 'yes' === get_option( 'woocommerce_force_ssl_checkout' ) || class_exists( 'WordPressHTTPS' ) || strstr( wc_get_page_permalink( 'checkout' ), 'https:' );
}