WC_Tax_Rate_Importer::__construct │ public │ WC 1.0

Constructor.

Метод класса: WC_Tax_Rate_Importer{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$WC_Tax_Rate_Importer = new WC_Tax_Rate_Importer();
$WC_Tax_Rate_Importer->__construct();

Код WC_Tax_Rate_Importer::__construct() WC 11.3.0

public function __construct() {
	$this->import_page = 'woocommerce_tax_rate_csv';
	$this->delimiter   = empty( $_POST['delimiter'] ) ? ',' : (string) wc_clean( wp_unslash( $_POST['delimiter'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Constructor only sets the delimiter; import dispatch handles authorization.
}