WC_Settings_Tax::output()publicWC 1.0

Output the settings.

Method of the class: WC_Settings_Tax{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Settings_Tax = new WC_Settings_Tax();
$WC_Settings_Tax->output();

WC_Settings_Tax::output() code WC 8.6.1

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();
	}
}