WC_Settings_Tax::output
Output the settings.
Method of the class: WC_Settings_Tax{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WC_Settings_Tax = new WC_Settings_Tax(); $WC_Settings_Tax->output();
WC_Settings_Tax::output() WC Settings Tax::output code WC 10.5.0
public function output() {
global $current_section;
$tax_classes = WC_Tax::get_tax_class_slugs();
if ( 'standard' === $current_section || in_array( $current_section, array_filter( $tax_classes ), true ) ) {
$this->output_tax_rates();
} else {
parent::output();
}
}