mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
Docs: Various improvements and corrections to inline docs.
See #55646 git-svn-id: https://develop.svn.wordpress.org/trunk@54267 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -377,7 +377,7 @@ function wp_reschedule_event( $timestamp, $recurrence, $hook, $args = array(), $
|
||||
);
|
||||
|
||||
/**
|
||||
* Filter to preflight or hijack rescheduling of events.
|
||||
* Filter to preflight or hijack rescheduling of a recurring event.
|
||||
*
|
||||
* Returning a non-null value will short-circuit the normal rescheduling
|
||||
* process, causing the function to return the filtered value instead.
|
||||
@@ -392,11 +392,11 @@ function wp_reschedule_event( $timestamp, $recurrence, $hook, $args = array(), $
|
||||
* @param stdClass $event {
|
||||
* An object containing an event's data.
|
||||
*
|
||||
* @type string $hook Action hook to execute when the event is run.
|
||||
* @type int $timestamp Unix timestamp (UTC) for when to next run the event.
|
||||
* @type string|false $schedule How often the event should subsequently recur.
|
||||
* @type array $args Array containing each separate argument to pass to the hook's callback function.
|
||||
* @type int $interval The interval time in seconds for the schedule. Only present for recurring events.
|
||||
* @type string $hook Action hook to execute when the event is run.
|
||||
* @type int $timestamp Unix timestamp (UTC) for when to next run the event.
|
||||
* @type string $schedule How often the event should subsequently recur.
|
||||
* @type array $args Array containing each separate argument to pass to the hook's callback function.
|
||||
* @type int $interval The interval time in seconds for the schedule.
|
||||
* }
|
||||
* @param bool $wp_error Whether to return a WP_Error on failure.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user