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.

{} It's a 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

Code of WC_Tax::get_shop_base_rate() WC 6.8.2

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