action_scheduler_failed_{$context}_action_deletion

action_scheduler_failed_{$context}_action_deletion

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

do_action('action_scheduler_failed_{$context}_action_deletion') is found 1 times:

  • /packages/action-scheduler/classes/ActionScheduler_QueueCleaner.php line 143
    				 * @param int $count_of_actions_to_delete The number of old actions being deleted in this batch
    				 * @since 2.0.0
    				 *
    				 */
    				do_action( "action_scheduler_failed_{$context}_action_deletion", $action_id, $e, $lifespan, count( $actions_to_delete ) );
    			}
    		}
    		return $deleted_actions;
    	}
    
    	/**