woocommerce_unforce_ssl_checkout хук-фильтрWC 1.0

Использование

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
-

Где вызывается хук

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 ) ) {

Где используется хук в WooCommerce

Использование не найдено.