action_scheduler_completed_action
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
action_scheduler_completed_action
action_scheduler_completed_action
woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php 1263
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 );