WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

WC_Admin_Importers::__construct() public WC 1.0

Constructor.

Это метод класса: WC_Admin_Importers{}

Хуков нет.

Возвращает

Null. Ничего.

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

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

Код WC_Admin_Importers::__construct() WC 4.5.2

woocommerce/includes/admin/class-wc-admin-importers.php
<?php
public function __construct() {
	if ( ! $this->import_allowed() ) {
		return;
	}

	add_action( 'admin_menu', array( $this, 'add_to_menus' ) );
	add_action( 'admin_init', array( $this, 'register_importers' ) );
	add_action( 'admin_head', array( $this, 'hide_from_menus' ) );
	add_action( 'admin_enqueue_scripts', array( $this, 'admin_scripts' ) );
	add_action( 'wp_ajax_woocommerce_do_ajax_product_import', array( $this, 'do_ajax_product_import' ) );

	// Register WooCommerce importers.
	$this->importers['product_importer'] = array(
		'menu'       => 'edit.php?post_type=product',
		'name'       => __( 'Product Import', 'woocommerce' ),
		'capability' => 'import',
		'callback'   => array( $this, 'product_importer' ),
	);
}