WP_Background_Process
Abstract WP_Background_Process class.
Source
File: classes/importer/batch-process/helpers/class-wp-background-process.php
Methods
- __construct — Initiate new background process
- cancel_process — Cancel Process
- clear_scheduled_event — Clear scheduled event
- complete — Complete.
- delete — Delete queue
- dispatch — Dispatch
- generate_key — Generate key
- get_batch — Get batch
- get_memory_limit — Get memory limit
- handle — Handle
- handle_cron_healthcheck — Handle cron healthcheck
- is_process_running — Is process running
- is_queue_empty — Is queue empty
- lock_process — Lock process
- maybe_handle — Maybe process queue
- memory_exceeded — Memory exceeded
- push_to_queue — Push to queue
- save — Save queue
- schedule_cron_healthcheck — Schedule cron healthcheck
- schedule_event — Schedule event
- task — Task
- time_exceeded — Time exceeded.
- unlock_process — Unlock process
- update — Update queue