action_scheduler_completed_action хук-событиеWC 3.4.2

Fires after a scheduled action has been completed.

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

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.

Список изменений

С версии 3.4.2 Введена.

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

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 850
do_action( 'action_scheduler_completed_action', $action_id );
woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php 998
do_action( 'action_scheduler_completed_action', $action_id );

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

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