Automattic\WooCommerce\Database\Migrations\CustomOrderTable

PostToOrderAddressTableMigrator::__construct()publicWC 1.0

PostToOrderAddressTableMigrator constructor.

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

No Hooks.

Return

null. Nothing.

Usage

$PostToOrderAddressTableMigrator = new PostToOrderAddressTableMigrator();
$PostToOrderAddressTableMigrator->__construct( $type );
$type(string) (required)
Type of addresses being migrated, could be billing|shipping.

Code of PostToOrderAddressTableMigrator::__construct() WC 7.1.0

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