Summery Summery
Filter to preflight or hijack retrieving ready cron jobs.
Syntax Syntax
Description Description
Returning an array will short-circuit the normal retrieval of ready cron jobs, causing the function to return the filtered value instead.
Parameters Parameters
- $pre
-
Array of ready cron tasks to return instead. Default null to continue using results from _get_cron_array().
Source Source
File: wp-includes/cron.php
Advertisement
Changelog Changelog
Version | Description |
---|---|
5.1.0 | Introduced. |