Automattic\WooCommerce\Database\Migrations\CustomOrderTable

PostToOrderAddressTableMigrator::__construct()publicWC 1.0

PostToOrderAddressTableMigrator constructor.

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

Хуков нет.

Возвращает

null. Ничего.

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

$PostToOrderAddressTableMigrator = new PostToOrderAddressTableMigrator();
$PostToOrderAddressTableMigrator->__construct( $type );
$type(строка) (обязательный)
Type of addresses being migrated, could be billing|shipping.

Код PostToOrderAddressTableMigrator::__construct() WC 6.8.0

public function __construct( $type ) {
	$this->type = $type;
	parent::__construct();
}