woocommerce_get_shipping_tax, count( $taxes

woocommerce_get_shipping_tax, count( $taxes

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

apply_filters('woocommerce_get_shipping_tax, count( $taxes') is found 1 times:

  • /includes/class-wc-shipping-rate.php line 337
    		 * @since 3.2.0
    		 * @param array $taxes The shipping rate taxes.
    		 * @param WC_Shipping_Rate $this The shipping rate object.
    		 */
    		return apply_filters( 'woocommerce_get_shipping_tax', count( $taxes ) > 0 && ! WC()->customer->get_is_vat_exempt() ? (float) array_sum( $taxes ) : 0.0, $this );
    	}
    
    	/**
    	 * Get tax status.
    	 *
    	 * @return string