Docs: Include 'weekly' as a valid value in wp_schedule_event() description.
Follow-up to [47062]. Props crstauf, pacicio. Fixes #59888. Built from https://develop.svn.wordpress.org/trunk@57106 git-svn-id: http://core.svn.wordpress.org/trunk@56617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -206,8 +206,8 @@ function wp_schedule_single_event( $timestamp, $hook, $args = array(), $wp_error
|
||||
* The action will trigger when someone visits your WordPress site if the scheduled
|
||||
* time has passed.
|
||||
*
|
||||
* Valid values for the recurrence are 'hourly', 'daily', and 'twicedaily'. These can
|
||||
* be extended using the {@see 'cron_schedules'} filter in wp_get_schedules().
|
||||
* Valid values for the recurrence are 'hourly', 'twicedaily', 'daily', and 'weekly'.
|
||||
* These can be extended using the {@see 'cron_schedules'} filter in wp_get_schedules().
|
||||
*
|
||||
* Use wp_next_scheduled() to prevent duplicate events.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user