Make WordPress Core


Ignore:
Timestamp:
11/11/2023 09:26:44 AM (4 months ago)
Author:
SergeyBiryukov
Message:

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

Follow-up to [47062].

Props crstauf, pacicio.
Fixes #59888.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/cron.php

    r56553 r57106  
    207207 * time has passed.
    208208 *
    209  * Valid values for the recurrence are 'hourly', 'daily', and 'twicedaily'. These can
    210  * be extended using the {@see 'cron_schedules'} filter in wp_get_schedules().
     209 * Valid values for the recurrence are 'hourly', 'twicedaily', 'daily', and 'weekly'.
     210 * These can be extended using the {@see 'cron_schedules'} filter in wp_get_schedules().
    211211 *
    212212 * Use wp_next_scheduled() to prevent duplicate events.
Note: See TracChangeset for help on using the changeset viewer.