Automattic\WooCommerce\Internal\CLI\Migrator\Lib

ImportSession::get_id │ public │ WC 1.0

Gets the import session ID.

Method of the class: ImportSession{}

No Hooks.

Returns

int. The post ID

Usage

$ImportSession = new ImportSession();
$ImportSession->get_id();

ImportSession::get_id() code WC 11.3.0

public function get_id() {
	return $this->post_id;
}