WC_Tax::format_tax_rate_name()private staticWC 1.0

Format the tax rate name.

{} It's a method of the class: WC_Tax{}

No Hooks.

Return

String.

Usage

$result = WC_Tax::format_tax_rate_name( $name );
$name(string) (required)
Value to format.

Code of WC_Tax::format_tax_rate_name() WC 6.8.2

private static function format_tax_rate_name( $name ) {
	return $name ? $name : __( 'Tax', 'woocommerce' );
}