schedule_event

schedule_event

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

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('schedule_event') is found 2 times:

  • /wp-includes/cron.php line 179
    	 *     @type array        $args      Array containing each separate argument to pass to the hook's callback function.
    	 *     @type int          $interval  Optional. The interval time in seconds for the schedule. Only present for recurring events.
    	 * }
    	 */
    	$event = apply_filters( 'schedule_event', $event );
    
    	// A plugin disallowed this event.
    	if ( ! $event ) {
    		if ( $wp_error ) {
    			return new WP_Error(
    				'schedule_event_false',
    
  • /wp-includes/cron.php line 287
    		return $pre;
    	}
    
    	/** This filter is documented in wp-includes/cron.php */
    	$event = apply_filters( 'schedule_event', $event );
    
    	// A plugin disallowed this event.
    	if ( ! $event ) {
    		if ( $wp_error ) {
    			return new WP_Error(
    				'schedule_event_false',