schedule_event

schedule_event

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('schedule_event') is found 2 times:

  • /wp-includes/cron.php line 179
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    *     @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
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
        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',