action_scheduler_before_execute

action_scheduler_before_execute

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

do_action('action_scheduler_before_execute') is found 1 times:

  • /packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php line 90
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    */
    try {
        try {
            $valid_action = false;
            do_action( 'action_scheduler_before_execute', $action_id, $context );
     
            if ( ActionScheduler_Store::STATUS_PENDING !== $this->store->get_status( $action_id ) ) {
                do_action( 'action_scheduler_execution_ignored', $action_id, $context );
                return;
            }

See this hook used in plugins: