WordPress at Your Fingertips
function is not described

WC_Tax::get_tax_classes() public WC 1.0

Get store tax class names.

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

No Hooks.

Return

Array. Array of class names ("Reduced rate", "Zero rate", etc).

Usage

$result = WC_Tax::get_tax_classes();

Code of WC_Tax::get_tax_classes() WC 5.9.0

public static function get_tax_classes() {
	return wp_list_pluck( self::get_tax_rate_classes(), 'name' );
}