woocommerce_unforce_ssl_checkout filter-hookWC 1.0

Usage

add_filter( 'woocommerce_unforce_ssl_checkout', 'wp_kama_woocommerce_unforce_ssl_checkout_filter' );

/**
 * Function for `woocommerce_unforce_ssl_checkout` filter-hook.
 * 
 * @param  $true 
 *
 * @return 
 */
function wp_kama_woocommerce_unforce_ssl_checkout_filter( $true ){

	// filter...
	return $true;
}
$true
-

Where the hook is called

WC_HTTPS::unforce_https_template_redirect()
woocommerce_unforce_ssl_checkout
woocommerce/includes/class-wc-https.php 109
if ( ! wc_site_is_https() && is_ssl() && $_SERVER['REQUEST_URI'] && ! is_checkout() && ! wp_doing_ajax() && ! is_account_page() && apply_filters( 'woocommerce_unforce_ssl_checkout', true ) ) {

Where the hook is used in WooCommerce

Usage not found.