woocommerce_price_inc_tax_amount, $non_compound_price – ( $non_compound_price / ( 1 + ( $compound_rate / 100

woocommerce_price_inc_tax_amount, $non_compound_price – ( $non_compound_price / ( 1 + ( $compound_rate / 100

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

apply_filters('woocommerce_price_inc_tax_amount, $non_compound_price – ( $non_compound_price / ( 1 + ( $compound_rate / 100') is found 1 times:

  • /includes/class-wc-tax.php line 149
     
    		$non_compound_price = $price;
    
    		foreach ( $compound_rates as $key => $compound_rate ) {
    			$tax_amount         = apply_filters( 'woocommerce_price_inc_tax_amount', $non_compound_price - ( $non_compound_price / ( 1 + ( $compound_rate / 100 ) ) ), $key, $rates[ $key ], $price );
    			$taxes[ $key ]     += $tax_amount;
    			$non_compound_price = $non_compound_price - $tax_amount;
    		}
    
    		// Regular taxes.
    		$regular_tax_rate = 1 + ( array_sum( $regular_rates ) / 100 );