Make WordPress Core


Ignore:
Timestamp:
09/20/2022 08:30:03 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Various improvements and corrections to inline docs.

See #55646

File:
1 edited

Legend:

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

    r54210 r54267  
    378378
    379379        /**
    380          * Filter to preflight or hijack rescheduling of events.
     380         * Filter to preflight or hijack rescheduling of a recurring event.
    381381         *
    382382         * Returning a non-null value will short-circuit the normal rescheduling
     
    393393         *     An object containing an event's data.
    394394         *
    395          *     @type string       $hook      Action hook to execute when the event is run.
    396          *     @type int          $timestamp Unix timestamp (UTC) for when to next run the event.
    397          *     @type string|false $schedule  How often the event should subsequently recur.
    398          *     @type array        $args      Array containing each separate argument to pass to the hook's callback function.
    399          *     @type int          $interval  The interval time in seconds for the schedule. Only present for recurring events.
     395         *     @type string $hook      Action hook to execute when the event is run.
     396         *     @type int    $timestamp Unix timestamp (UTC) for when to next run the event.
     397         *     @type string $schedule  How often the event should subsequently recur.
     398         *     @type array  $args      Array containing each separate argument to pass to the hook's callback function.
     399         *     @type int    $interval  The interval time in seconds for the schedule.
    400400         * }
    401401         * @param bool               $wp_error Whether to return a WP_Error on failure.
Note: See TracChangeset for help on using the changeset viewer.