A WordPress-centric search engine for devs and theme authors



cron_schedules ›

Since2.1.0
Deprecatedn/a
apply_filters( 'cron_schedules', array()
Parameters:
  • (array) $new_schedules An array of non-default cron schedules. Default empty.
    Required: Yes
Defined at:
Codex:

Filters the non-default cron schedules.





Source

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