WooCommerce Code Reference

WC_Privacy_Background_Process extends WC_Background_Process
in package

WC_Privacy_Background_Process class.

Table of Contents

__construct()  : mixed
Initiate new background process.
delete_all_batches()  : WC_Background_Process
Delete all batches.
kill_process()  : mixed
Kill process.
schedule_cron_healthcheck()  : array
Schedule cron healthcheck.
batch_limit_exceeded()  : bool
See if the batch limit has been exceeded.
get_batch()  : stdClass
Get batch.
get_memory_limit()  : int
Get memory limit.
handle()  : mixed
is_queue_empty()  : bool
Is queue empty.
task()  : bool
Code to execute for each item in the queue