WC_Tax::get_shop_base_rate │ public static │ WC 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 11.2.2

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