Skip to content

Commit

Permalink
Docs: Include 'weekly' as a valid value in wp_schedule_event() de…
Browse files Browse the repository at this point in the history
…scription.

Follow-up to [47062].

Props crstauf, pacicio.
Fixes #59888.

git-svn-id: https://develop.svn.wordpress.org/trunk@57106 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov committed Nov 11, 2023
1 parent db071f7 commit 152a1ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wp-includes/cron.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit 152a1ec

Please sign in to comment.