pre_get_scheduled_event

pre_get_scheduled_event

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('pre_get_scheduled_event') is found 1 times:

  • /wp-includes/cron.php line 770
    	 *                                Although not passed to a callback, these arguments are used to uniquely identify
    	 *                                the event.
    	 * @param int|null  $timestamp Unix timestamp (UTC) of the event. Null to retrieve next scheduled event.
    	 */
    	$pre = apply_filters( 'pre_get_scheduled_event', null, $hook, $args, $timestamp );
    
    	if ( null !== $pre ) {
    		return $pre;
    	}
    
    	if ( null !== $timestamp && ! is_numeric( $timestamp ) ) {