action_scheduler_completed_action
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 | Введена. |
Где вызывается хук
action_scheduler_completed_action
action_scheduler_completed_action
woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php 1158
do_action( 'action_scheduler_completed_action', $action_id );
woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php 1011
do_action( 'action_scheduler_completed_action', $action_id );