Changeset 54470 for trunk/src/wp-includes/cron.php
- Timestamp:
- 10/11/2022 09:00:33 AM (3 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/cron.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/cron.php
r54267 r54470 9 9 * Schedules an event to run only once. 10 10 * 11 * Schedules a hook which will be triggered by WordPress at the specified time.11 * Schedules a hook which will be triggered by WordPress at the specified UTC time. 12 12 * The action will trigger when someone visits your WordPress site if the scheduled 13 13 * time has passed. … … 207 207 * Valid values for the recurrence are 'hourly', 'daily', and 'twicedaily'. These can 208 208 * be extended using the {@see 'cron_schedules'} filter in wp_get_schedules(). 209 *210 * Note that scheduling an event to occur within 10 minutes of an existing event211 * with the same action hook will be ignored unless you pass unique `$args` values212 * for each scheduled event.213 209 * 214 210 * Use wp_next_scheduled() to prevent duplicate events. … … 318 314 * Reschedules a recurring event. 319 315 * 320 * Mainly for internal use, this takes the timestamp of a previously run316 * Mainly for internal use, this takes the UTC timestamp of a previously run 321 317 * recurring event and reschedules it for its next run. 322 318 * … … 384 380 * 385 381 * For plugins replacing wp-cron, return true if the event was successfully 386 * rescheduled, false if not.382 * rescheduled, false or a WP_Error if not. 387 383 * 388 384 * @since 5.1.0 … … 481 477 * 482 478 * For plugins replacing wp-cron, return true if the event was successfully 483 * unscheduled, false if not.479 * unscheduled, false or a WP_Error if not. 484 480 * 485 481 * @since 5.1.0 … … 562 558 * For plugins replacing wp-cron, return the number of events successfully 563 559 * unscheduled (zero if no events were registered with the hook) or false 564 * if unscheduling one or more events fails.560 * or a WP_Error if unscheduling one or more events fails. 565 561 * 566 562 * @since 5.1.0
Note: See TracChangeset
for help on using the changeset viewer.