Automattic\WooCommerce\Internal\Admin
OrderTaxLookupMigrator::get_cursor
Highest order id a pass has been through.
Method of the class: OrderTaxLookupMigrator{}
No Hooks.
Returns
int.
Usage
// private - for code of main (parent) class only $result = $this->get_cursor( $option ): int;
- $option(string) (required)
- Cursor option of the pass.
OrderTaxLookupMigrator::get_cursor() OrderTaxLookupMigrator::get cursor code WC 11.3.0
private function get_cursor( string $option ): int {
return (int) get_option( $option, 0 );
}