Changeset 55293 for trunk/src/wp-includes/cron.php
- Timestamp:
- 02/07/2023 09:19:46 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/cron.php
r55170 r55293 78 78 * 79 79 * @param null|bool|WP_Error $result The value to return instead. Default null to continue adding the event. 80 * @param stdClass$event {80 * @param object $event { 81 81 * An object containing an event's data. 82 82 * … … 85 85 * @type string|false $schedule How often the event should subsequently recur. 86 86 * @type array $args Array containing each separate argument to pass to the hook's callback function. 87 * @type int $interval The interval time in seconds for the schedule. Only present for recurring events.87 * @type int $interval Optional. The interval time in seconds for the schedule. Only present for recurring events. 88 88 * } 89 89 * @param bool $wp_error Whether to return a WP_Error on failure. … … 165 165 * @since 3.1.0 166 166 * 167 * @param stdClass|false $event {167 * @param object|false $event { 168 168 * An object containing an event's data, or boolean false to prevent the event from being scheduled. 169 169 * … … 172 172 * @type string|false $schedule How often the event should subsequently recur. 173 173 * @type array $args Array containing each separate argument to pass to the hook's callback function. 174 * @type int $interval The interval time in seconds for the schedule. Only present for recurring events.174 * @type int $interval Optional. The interval time in seconds for the schedule. Only present for recurring events. 175 175 * } 176 176 */ … … 386 386 * 387 387 * @param null|bool|WP_Error $pre Value to return instead. Default null to continue adding the event. 388 * @param stdClass$event {388 * @param object $event { 389 389 * An object containing an event's data. 390 390 * … … 723 723 * @param int|null $timestamp Optional. Unix timestamp (UTC) of the event. If not specified, the next scheduled event 724 724 * is returned. Default null. 725 * @return object|false The event object. False if the event does not exist. 725 * @return object|false { 726 * The event object. False if the event does not exist. 727 * 728 * @type string $hook Action hook to execute when the event is run. 729 * @type int $timestamp Unix timestamp (UTC) for when to next run the event. 730 * @type string|false $schedule How often the event should subsequently recur. 731 * @type array $args Array containing each separate argument to pass to the hook's callback function. 732 * @type int $interval Optional. The interval time in seconds for the schedule. Only present for recurring events. 733 * } 726 734 */ 727 735 function wp_get_scheduled_event( $hook, $args = array(), $timestamp = null ) {
Note: See TracChangeset
for help on using the changeset viewer.