WooCommerce Code Reference

WC_Background_Process extends WP_Background_Process
in package

WC_Background_Process class.

Table of Contents

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
Handle.
is_queue_empty()  : bool
Is queue empty.

Methods