wpseek.com
A WordPress-centric search engine for devs and theme authors



cron_schedules › WordPress Filter Hooks

Since2.1.0
Deprecatedn/a
apply_filters( 'cron_schedules', array()
Parameters:
  • (array) $new_schedules { An array of non-default cron schedules keyed by the schedule name. Default empty array. @type array ...$0 { Cron schedule information. @type int $interval The schedule interval in seconds. @type string $display The schedule display name. } }
    Required: Yes
Defined at:
Codex:

Filters the non-default cron schedules.





Source

return array_merge( apply_filters( 'cron_schedules', array() ), $schedules );