Skip to content

Installation

Requirements

  • PHP 7.4+
  • WordPress 6.0+
  • Composer

Composer

console
composer require foxelabs/wp-queue-process

Classes autoload under the FoxeLabs\Queue\ namespace via PSR-4.

Bootstrapping

Nothing to bootstrap globally — you extend Async or Task in your plugin and instantiate on demand. See Usage for the extend-and-dispatch pattern.

Configuration properties

PropertyTypePurpose
$actionstringUnique action name used to namespace every filter, option key, cron hook, and lock transient.

Batch behaviour (time / memory budget, lock duration, cron interval) is tuned via the filters listed in Usage.