Docs: Include 'weekly' as a valid value in wp_schedule_event() description.

Follow-up to [47062].

Props crstauf, pacicio.
Fixes #59888.

git-svn-id: https://develop.svn.wordpress.org/trunk@57106 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2023-11-11 09:26:44 +00:00
parent db071f729c
commit 152a1ecd81

View File

@@ -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.
*