diff --git a/src/wp-includes/cron.php b/src/wp-includes/cron.php
index 77eb6b6..046c0dc 100644
a
|
b
|
function wp_schedule_single_event( $timestamp, $hook, $args = array() ) { |
61 | 61 | * |
62 | 62 | * Return true if the event was scheduled, false if not. |
63 | 63 | * |
64 | | * @since 5.0.0 |
| 64 | * @since 5.1.0 |
65 | 65 | * |
66 | 66 | * @param null|bool $pre Value to return instead. Default null to continue adding the event. |
67 | 67 | * @param stdClass $event { |
… |
… |
function wp_reschedule_event( $timestamp, $recurrence, $hook, $args = array() ) |
252 | 252 | * For plugins replacing wp-cron, return true if the event was successfully |
253 | 253 | * rescheduled, false if not. |
254 | 254 | * |
255 | | * @since 5.0.0 |
| 255 | * @since 5.1.0 |
256 | 256 | * |
257 | 257 | * @param null|bool $pre Value to return instead. Default null to continue adding the event. |
258 | 258 | * @param stdClass $event { |
… |
… |
function wp_unschedule_event( $timestamp, $hook, $args = array() ) { |
318 | 318 | * For plugins replacing wp-cron, return true if the event was successfully |
319 | 319 | * unscheduled, false if not. |
320 | 320 | * |
321 | | * @since 5.0.0 |
| 321 | * @since 5.1.0 |
322 | 322 | * |
323 | 323 | * @param null|bool $pre Value to return instead. Default null to continue unscheduling the event. |
324 | 324 | * @param int $timestamp Timestamp for when to run the event. |
… |
… |
function wp_clear_scheduled_hook( $hook, $args = array() ) { |
378 | 378 | * unscheduled (zero if no events were registered with the hook) or false |
379 | 379 | * if unscheduling one or more events fails. |
380 | 380 | * |
381 | | * @since 5.0.0 |
| 381 | * @since 5.1.0 |
382 | 382 | * |
383 | 383 | * @param null|array $pre Value to return instead. Default null to continue unscheduling the event. |
384 | 384 | * @param string $hook Action hook, the execution of which will be unscheduled. |
… |
… |
function wp_unschedule_hook( $hook ) { |
438 | 438 | * unscheduled (zero if no events were registered with the hook) or false |
439 | 439 | * if unscheduling one or more events fails. |
440 | 440 | * |
441 | | * @since 5.0.0 |
| 441 | * @since 5.1.0 |
442 | 442 | * |
443 | 443 | * @param null|array $pre Value to return instead. Default null to continue unscheduling the hook. |
444 | 444 | * @param string $hook Action hook, the execution of which will be unscheduled. |
… |
… |
function wp_unschedule_hook( $hook ) { |
483 | 483 | * |
484 | 484 | * Retrieve the full event object for a given event. |
485 | 485 | * |
486 | | * @since 5.0.0 |
| 486 | * @since 5.1.0 |
487 | 487 | * |
488 | 488 | * @param string $hook Action hook of the event. |
489 | 489 | * @param array $args Optional. Array containing each separate argument to pass to the hook's callback function. |
… |
… |
function wp_get_scheduled_event( $hook, $args = array(), $timestamp = null ) { |
507 | 507 | * Return false if the event does not exist, otherwise an event object |
508 | 508 | * should be returned. |
509 | 509 | * |
510 | | * @since 5.0.0 |
| 510 | * @since 5.1.0 |
511 | 511 | * |
512 | 512 | * @param null|bool $pre Value to return instead. Default null to continue retrieving the event. |
513 | 513 | * @param string $hook Action hook of the event. |
… |
… |
function wp_get_scheduled_event( $hook, $args = array(), $timestamp = null ) { |
551 | 551 | * Retrieve the next timestamp for an event. |
552 | 552 | * |
553 | 553 | * @since 2.1.0 |
554 | | * @since 5.0.0 {@see 'pre_next_scheduled'} and {@see 'next_scheduled'} filters added. |
| 554 | * @since 5.1.0 {@see 'pre_next_scheduled'} and {@see 'next_scheduled'} filters added. |
555 | 555 | * |
556 | 556 | * @param string $hook Action hook of the event. |
557 | 557 | * @param array $args Optional. Array containing each separate argument to pass to the hook's callback function. |
… |
… |
function wp_next_scheduled( $hook, $args = array() ) { |
568 | 568 | * |
569 | 569 | * Pass the timestamp of the next event if it exists, false if not. |
570 | 570 | * |
571 | | * @since 5.0.0 |
| 571 | * @since 5.1.0 |
572 | 572 | * |
573 | 573 | * @param null|bool $pre Value to return instead. Default null to continue unscheduling the event. |
574 | 574 | * @param string $hook Action hook of the event. |
… |
… |
function wp_next_scheduled( $hook, $args = array() ) { |
595 | 595 | /** |
596 | 596 | * Filter the next scheduled event timestamp. |
597 | 597 | * |
598 | | * @since 5.0.0 |
| 598 | * @since 5.1.0 |
599 | 599 | * |
600 | 600 | * @param int|bool $next The UNIX timestamp when the scheduled event will next occur, or false if not found. |
601 | 601 | * @param string $hook Action hook to execute when cron is run. |
… |
… |
function wp_get_schedules() { |
828 | 828 | * @see wp_get_schedules() for available schedules. |
829 | 829 | * |
830 | 830 | * @since 2.1.0 |
831 | | * @since 5.0.0 {@see 'get_schedule'} filter added. |
| 831 | * @since 5.1.0 {@see 'get_schedule'} filter added. |
832 | 832 | * |
833 | 833 | * @param string $hook Action hook to identify the event. |
834 | 834 | * @param array $args Optional. Arguments passed to the event's callback function. |
… |
… |
function wp_get_schedule( $hook, $args = array() ) { |
845 | 845 | /** |
846 | 846 | * Filter the schedule for a hook. |
847 | 847 | * |
848 | | * @since 5.0.0 |
| 848 | * @since 5.1.0 |
849 | 849 | * |
850 | 850 | * @param string|bool $schedule Schedule for the hook. False if not found. |
851 | 851 | * @param string $hook Action hook to execute when cron is run. |