wphooks.info - next_scheduled

next_scheduled

(trunk - 5.1-alpha-44286)

*** New in trunk ***

The hook occurs in the following file:

wp-includes/cron.php:
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
	/**
	 * Filter the next scheduled event timestamp.
	 *
	 * @since 5.0.0
	 *
	 * @param int|bool $next The UNIX timestamp when the scheduled event will next occur, or false if not found.
	 * @param string   $hook Action hook to execute when cron is run.
	 * @param array    $args Arguments to be passed to the callback function. Used for deduplicating events.
	 */
	return apply_filters( 'next_scheduled', $next, $hook, $args );
}

/**
 * Sends a request to run cron through HTTP request that doesn't halt page loading.
 *
 * @since 2.1.0
 * @since 5.0.0 Return values added.
 *
 * @param int $gmt_time Optional. Unix timestamp (UTC). Default 0 (current time is used).