WordPress at Your Fingertips
function is not described

WC_Tax::get_shop_base_rate() public WC 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().

{} 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 2.3

Code of WC_Tax::get_shop_base_rate() WC 5.9.0

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