Automattic\WooCommerce\Internal\CLI\Migrator\Lib

ImportSession::get_reentrancy_cursor │ public │ WC 1.0

Gets the importer cursor for resuming imports.

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

Хуков нет.

Возвращает

string|null. The cursor data

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

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

Код ImportSession::get_reentrancy_cursor() WC 11.1.2

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