Add note about wp_next_scheduled() in wp_schedule_event(). See #14668

git-svn-id: http://svn.automattic.com/wordpress/trunk@16690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
scribu 2010-12-02 16:27:16 +00:00
parent ecb7457627
commit 3b5707c4be
1 changed files with 3 additions and 1 deletions

View File

@ -50,6 +50,8 @@ function wp_schedule_single_event( $timestamp, $hook, $args = array()) {
* Valid values for the recurrence are hourly, daily and twicedaily. These can * Valid values for the recurrence are hourly, daily and twicedaily. These can
* be extended using the cron_schedules filter in wp_get_schedules(). * be extended using the cron_schedules filter in wp_get_schedules().
* *
* Use wp_next_scheduled() to prevent duplicates
*
* @since 2.1.0 * @since 2.1.0
* *
* @param int $timestamp Timestamp for when to run the event. * @param int $timestamp Timestamp for when to run the event.