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

Are store-wide taxes enabled?

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

add_filter( 'wc_tax_enabled', 'wp_kama_wc_tax_enabled_filter' );

/**
 * Function for `wc_tax_enabled` filter-hook.
 * 
 * @param  $get_option() === yes 
 *
 * @return 
 */
function wp_kama_wc_tax_enabled_filter( $get_option() === yes ){

	// filter...
	return $get_option() === yes;
}
$get_option() === yes
-

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

wc_tax_enabled()
wc_tax_enabled
woocommerce/includes/wc-conditional-functions.php 343
return apply_filters( 'wc_tax_enabled', get_option( 'woocommerce_calc_taxes' ) === 'yes' );

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

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