WP_Background_Process::task( mixed $item )

Task


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

$item

(mixed) (Required) Queue item to iterate over.


Return

(mixed)


Source

File: classes/library/batch-processing/wp-background-process.php

		abstract protected function task( $item );


User Contributed Notes

You must log in before being able to contribute a note or feedback.