WordPress at Your Fingertips
function is not described

WC_Product::get_valid_tax_classes() protected WC 1.0

Return an array of valid tax classes

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

No Hooks.

Return

Array. valid tax classes

Usage

// protected - for code of main (parent) or child class
$result = $this->get_valid_tax_classes();

Code of WC_Product::get_valid_tax_classes() WC 5.5.2

<?php
protected function get_valid_tax_classes() {
	return WC_Tax::get_tax_class_slugs();
}