apply_filters( 'cron_schedules', array $new_schedules )
Filters the non-default cron schedules.
Description Description
Parameters Parameters
- $new_schedules
-
(array) An array of non-default cron schedules. Default empty.
Source Source
File: wp-includes/cron.php
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
Add a custom cron schedule for every 5 minutes:
custom cron schedule for every 10 & 15 Seconds
Expand full source codeCollapse full source code