Automattic\WooCommerce\Database\Migrations\CustomOrderTable

PostsToOrdersMigrationController::__construct()publicWC 1.0

PostsToOrdersMigrationController constructor.

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

Хуков нет.

Возвращает

null. Ничего.

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

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

Код PostsToOrdersMigrationController::__construct() WC 6.8.0

public function __construct() {

	$this->all_migrators   = array();
	$this->all_migrators[] = new PostToOrderTableMigrator();
	$this->all_migrators[] = new PostToOrderAddressTableMigrator( 'billing' );
	$this->all_migrators[] = new PostToOrderAddressTableMigrator( 'shipping' );
	$this->all_migrators[] = new PostToOrderOpTableMigrator();
	$this->all_migrators[] = new PostMetaToOrderMetaMigrator( $this->get_migrated_meta_keys() );
	$this->error_logger    = wc_get_logger();
}