0611ff7665
As a wrapper for Action Scheduler. This implements the WC_Queue_Interface so it can be used as WC core's job queue. Implementing WC_Queue_Interface also means this class has more generic and appropriate job queue nomenclature than Action Scheduler itself. For exsample, it provides a method for non-delayed jobs, i.e. WC_Queue_Interface::add(), unlike Action Scheduler, which requires scheduling a job for now(), which while fairly simple, is not intuitive or immediately obvious to new comers. This makes it both more clear and convenient to use Action Scheduler as a simple job queue instead of just a queue for delayed jobs. |
||
---|---|---|
.. | ||
class-wc-action-queue.php |