Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: wp_next_scheduled

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
850       *     @type string $schedule  How often the event should subsequently recur.
851       *     @type array  $args      Array containing each separate argument to pass to the hook
852       *                             callback function.
853       *     @type int    $interval  Optional. The interval time in seconds for the schedule. Only
854       *                             present for recurring events.
855       * }
856       * @param array  $args       Array containing each separate argument to pass to the hook
857       *                           callback function.
858       */
859      return apply_filters( 'wp_next_scheduled', $next_event->timestamp, $next_event, $hook, $args );
860 }
861
862 /**
863  * Sends a request to run cron through HTTP request that doesn't halt page loading.
864  *
865  * @since 2.1.0
866  * @since 5.1.0 Return values added.
867  *
868  * @param int $gmt_time Optional. Unix timestamp (UTC). Default 0 (current time is used).