Pods Jobs Queue archived
Queue callbacks to be ran with arguments, unlike wp_cron which is scheduled jobs, these are queued and run concurrently as needed
by The Pods Framework Team · github.com/pods-framework/pods-jobs-queue · website
★ 7stars
1forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/pods-framework/pods-jobs-queue/archive/refs/heads/main.zipFrom the readme
Requires PHP 5.6+, WordPress 4.9+, and Pods Framework 2.7+
Queue callbacks to be ran with arguments, unlike wpcron which is scheduled jobs, these are queued and run concurrently as needed.
You can queue jobs to be run by calling:
podsqueuejob( $data );
Set your $data to an array of information that the job will use when it runs:
$data = [
/
The function to callback when running the job.
Don't pass things like [ $this, 'somemethod' ], use a string like: 'SomeClass::somemethod' instead.
/
'callback' = 'yourfunction',
/
Whatever data you want to pass to the job to run. This is optional but you can set it to an array of data to pass through.
If this is provided as an array, the job will be run using: calluserfuncarray( $callback, $args ).
If this is empty, the job will be run using: calluserfunc( $callback ).
It will be serialized if necessary.
/
'argument
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| 0.1.7 | Mar 4, 2021 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.