woocommerce_rate_code

woocommerce_rate_code

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_rate_code') is found 1 times:

  • /includes/class-wc-tax.php line 746
    			$code[]      = absint( $rate->tax_rate_priority );
    			$code_string = strtoupper( implode( '-', array_filter( $code ) ) );
    		}
    
    		return apply_filters( 'woocommerce_rate_code', $code_string, $key );
    	}
    
    	/**
    	 * Sums a set of taxes to form a single total. Values are pre-rounded to precision from 3.6.0.
    	 *
    	 * @param  array $taxes Array of taxes.