action_scheduler_run_schedule

action_scheduler_run_schedule

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

See hook in core

Displaying hooks found in version: woocommerce.9.7.1

apply_filters('action_scheduler_run_schedule') is found 1 times:

  • /packages/action-scheduler/classes/ActionScheduler_QueueRunner.php line 83
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
        $cron_context = array( 'WP Cron' );
     
        if ( ! wp_next_scheduled( self::WP_CRON_HOOK, $cron_context ) ) {
            $schedule = apply_filters( 'action_scheduler_run_schedule', self::WP_CRON_SCHEDULE );
            wp_schedule_event( time(), $schedule, self::WP_CRON_HOOK, $cron_context );
        }
     
        add_action( self::WP_CRON_HOOK, array( self::instance(), 'run' ) );
        $this->hook_dispatch_async_request();
    }