Automattic\WooCommerce\Database\Migrations\CustomOrderTable
PostToOrderAddressTableMigrator::__construct
PostToOrderAddressTableMigrator constructor.
Метод класса: PostToOrderAddressTableMigrator{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$PostToOrderAddressTableMigrator = new PostToOrderAddressTableMigrator(); $PostToOrderAddressTableMigrator->__construct( $type );
- $type(строка) (обязательный)
- Type of address being migrated; 'billing' or 'shipping'.
Код PostToOrderAddressTableMigrator::__construct() PostToOrderAddressTableMigrator:: construct WC 9.9.3
public function __construct( $type ) { $this->type = $type; parent::__construct(); }