woocommerce_prices_include_tax filter-hook . WC 1.0
Are prices inclusive of tax?
Usage
add_filter( 'woocommerce_prices_include_tax', 'filter_function_name_5069' ); function filter_function_name_5069( $get_option() === yes ){ // filter... return $get_option() === yes; }
- $get_option() === yes
- -
Where the hook is called
woocommerce_prices_include_tax
woocommerce/includes/wc-conditional-functions.php 366
return wc_tax_enabled() && apply_filters( 'woocommerce_prices_include_tax', get_option( 'woocommerce_prices_include_tax' ) === 'yes' );