wc_tax_enabled filter-hookWC 1.0

Are store-wide taxes enabled?

Usage

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
-

Where the hook is called

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' );

Where the hook is used in WooCommerce

Usage not found.