Automattic\WooCommerce\Database\Migrations\CustomOrderTable

PostToOrderAddressTableMigrator::__constructpublicWC 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.9.3

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