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.5.1

do_action('action_scheduler_before_execute') is found 1 times:

  • /packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php line 77
    		 */
    		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: