Automattic\WooCommerce\Database\Migrations\CustomOrderTable

PostToOrderAddressTableMigrator::__construct()publicWC 1.0

PostToOrderAddressTableMigrator constructor.

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

Хуков нет.

Возвращает

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

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

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

Код PostToOrderAddressTableMigrator::__construct() WC 9.0.2

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