WP_Background_Process::task( mixed $item )
Task
Description Description
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.
Parameters Parameters
- $item
-
(mixed) (Required) Queue item to iterate over.
Return Return
(mixed)
Source Source
File: vendor/deliciousbrains/wp-background-processing/classes/wp-background-process.php
abstract protected function task( $item );
Expand full source code Collapse full source code View on GitHub