Automattic\WooCommerce\Database\Migrations\CustomOrderTable

PostToOrderAddressTableMigrator::__constructpublicWC 1.0

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() code WC 10.4.3

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