WC_Tax::get_shop_base_ratepublic staticWC 1.0

Deprecated since 2.3. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.

Alias for get_base_tax_rates().

Method of the class: WC_Tax{}

No Hooks.

Returns

Array.

Usage

$result = WC_Tax::get_shop_base_rate( $tax_class );
$tax_class(string)
Tax Class.
Default: ''

Changelog

Deprecated since 2.3

WC_Tax::get_shop_base_rate() code WC 10.3.3

public static function get_shop_base_rate( $tax_class = '' ) {
	return self::get_base_tax_rates( $tax_class );
}