Automattic\WooCommerce\Internal\CLI\Migrator\Lib

ImportSession::get_reentrancy_cursorpublicWC 1.0

Gets the importer cursor for resuming imports.

Method of the class: ImportSession{}

No Hooks.

Returns

String|null. The cursor data

Usage

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

ImportSession::get_reentrancy_cursor() code WC 10.8.1

public function get_reentrancy_cursor() {
	return get_post_meta( $this->post_id, 'importer_cursor', true );
}