woocommerce_rate_percent

woocommerce_rate_percent

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_rate_percent') is found 1 times:

  • /includes/class-wc-tax.php line 695
    	 */
    	public static function get_rate_percent( $key_or_rate ) {
    		$rate_percent_value = self::get_rate_percent_value( $key_or_rate );
    		$tax_rate_id        = is_object( $key_or_rate ) ? $key_or_rate->tax_rate_id : $key_or_rate;
    		return apply_filters( 'woocommerce_rate_percent', $rate_percent_value . '%', $tax_rate_id );
    	}
    
    	/**
    	 * Return a given rates percent.
    	 *
    	 * @param mixed $key_or_rate Tax rate ID, or the db row itself in object format.