woocommerce_force_ssl_checkout filter-hookWC 1.0

Template redirect - if we end up on a page ensure it has the correct http/https url.

Usage

add_filter( 'woocommerce_force_ssl_checkout', 'wp_kama_woocommerce_force_ssl_checkout_filter' );

/**
 * Function for `woocommerce_force_ssl_checkout` filter-hook.
 * 
 * @param  $false 
 *
 * @return 
 */
function wp_kama_woocommerce_force_ssl_checkout_filter( $false ){

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

Where the hook is called

WC_HTTPS::force_https_template_redirect()
woocommerce_force_ssl_checkout
woocommerce/includes/class-wc-https.php 89
if ( ! is_ssl() && ( is_checkout() || is_account_page() || apply_filters( 'woocommerce_force_ssl_checkout', false ) ) ) {

Where the hook is used in WooCommerce

Usage not found.