Cron_Runner
Handles the scheduling and execution of BigCommerce import processes via WordPress cron.
- Full name:
\BigCommerce\Import\Runner\Cron_Runner
Constants
Constant | Visibility | Type | Value |
---|---|---|---|
START_CRON | public | ’bigcommerce_start_import’ | |
CONTINUE_CRON | public | ’bigcommerce_continue_import’ |
Methods
start_import
public start_import(): void
continue_import
public continue_import(): void
ajax_continue_import
When an ajax request to get the current import status comes in, run the next step in the process by triggering the scheduled cron job.
public ajax_continue_import(): void
Runs at priority 5, before the ajax response handler
Automatically generated on 2025-01-21