Tribe__Process__Queue::sync_process()
Handles the process immediately, not in an async manner.
Return
(array) An array containing the result of each item handling.
Source
File: src/Tribe/Process/Queue.php
public function sync_process() {
$result = array();
$this->doing_sync = true;
foreach ( $this->data as $item ) {
$result[] = $this->task( $item );
}
return $result;
}
Changelog
| Version | Description |
|---|---|
| 4.7.12 | Introduced. |