action_scheduler_canceled_corrupted_action
Usage
add_action( 'action_scheduler_canceled_corrupted_action', 'wp_kama_action_scheduler_canceled_corrupted_action' );
/**
* Function for `action_scheduler_canceled_corrupted_action` action-hook.
*
* @param $action_id
*
* @return void
*/
function wp_kama_action_scheduler_canceled_corrupted_action( $action_id ){
// action...
}
- $action_id
- -
Where the hook is called
action_scheduler_canceled_corrupted_action
woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php 159
do_action( 'action_scheduler_canceled_corrupted_action', $action_id );
Where the hook is used in WooCommerce
woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBLogger.php 113
add_action( 'action_scheduler_canceled_corrupted_action', array( $this, 'clear_deleted_action_logs' ), 10, 1 );