Automattic\WooCommerce\Internal\CLI\Migrator\Lib

ImportSession::__construct │ public │ WC 1.0

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

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$ImportSession = new ImportSession();
$ImportSession->__construct( $post_id );
$post_id(обязательный)
.

Код ImportSession::__construct() WC 11.3.0

public function __construct( $post_id ) {
	$this->post_id = $post_id;
}