action_scheduler_completed_action action-hookWC 3.4.2

Fires after a scheduled action has been completed.

Usage

add_action( 'action_scheduler_completed_action', 'wp_kama_action_scheduler_completed_action' );

/**
 * Function for `action_scheduler_completed_action` action-hook.
 * 
 * @param int $action_id Action ID.
 *
 * @return void
 */
function wp_kama_action_scheduler_completed_action( $action_id ){

	// action...
}
$action_id(int)
Action ID.

Changelog

Since 3.4.2 Introduced.

Where the hook is called

ActionScheduler_DBStore::mark_complete()
action_scheduler_completed_action
ActionScheduler_wpPostStore::mark_complete()
action_scheduler_completed_action
woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php 1153
do_action( 'action_scheduler_completed_action', $action_id );

Where the hook is used in WooCommerce

Usage not found.