WC_Settings_Tax::output
Output the settings.
Метод класса: WC_Settings_Tax{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$WC_Settings_Tax = new WC_Settings_Tax(); $WC_Settings_Tax->output();
Код WC_Settings_Tax::output() WC Settings Tax::output WC 11.0.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();
}
}