Automattic\WooCommerce\Database\Migrations\CustomOrderTable
PostToOrderAddressTableMigrator::__construct
PostToOrderAddressTableMigrator constructor.
Method of the class: PostToOrderAddressTableMigrator{}
No Hooks.
Returns
null. Nothing (null).
Usage
$PostToOrderAddressTableMigrator = new PostToOrderAddressTableMigrator(); $PostToOrderAddressTableMigrator->__construct( $type );
- $type(string) (required)
- Type of address being migrated; 'billing' or 'shipping'.
PostToOrderAddressTableMigrator::__construct() PostToOrderAddressTableMigrator:: construct code WC 10.4.3
public function __construct( $type ) {
$this->type = $type;
parent::__construct();
}