Docs

EVF_Background_Updater::task( string $callback ): string|bool

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

$callbackstringrequired
Update callback function.

Return

string|bool