WC_Tax::get_shop_base_rate()public staticWC 1.0

Deprecated from version 2.3. It is no longer supported and can 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.

Return

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 9.4.2

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