action_scheduler_canceled_action хук-событиеWC 1.0

Использование

add_action( 'action_scheduler_canceled_action', 'wp_kama_action_scheduler_canceled_action' );

/**
 * Function for `action_scheduler_canceled_action` action-hook.
 * 
 * @param  $action_id 
 *
 * @return void
 */
function wp_kama_action_scheduler_canceled_action( $action_id ){

	// action...
}
$action_id
-

Где вызывается хук

ActionScheduler_DBStore::cancel_action()
action_scheduler_canceled_action
ActionScheduler_wpPostStore::cancel_action()
action_scheduler_canceled_action
woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php 655
do_action( 'action_scheduler_canceled_action', $action_id );

Где используется хук в WooCommerce

woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Logger.php 50
add_action( 'action_scheduler_canceled_action', array( $this, 'log_canceled_action' ), 10, 1 );