Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
WP_Background_Process
task
WP_Background_Process::task PHP Method
WP_Background_Process Class Documentation
Show file
Open project: A5hleyRich/wp-background-processing
task()
abstract
protected
method
Override this method to perform any actions required on each queue item. Return the modified item for further processing in the next pass through. Or, return false to remove the item from the queue.
abstract
protected
task
(
mixed
$item
) :
mixed
$item
mixed
Queue item to iterate over.
return
mixed
protected abstract function task($item);
WP_Background_Process
__construct
cancel_process
clear_scheduled_event
complete
delete
dispatch
generate_key
get_batch
get_memory_limit
handle
handle_cron_healthcheck
is_process_running
is_queue_empty
lock_process
maybe_handle
memory_exceeded
push_to_queue
save
schedule_cron_healthcheck
schedule_event
task
time_exceeded
unlock_process
update