action_scheduler_after_execute
Использование
add_action( 'action_scheduler_after_execute', 'wp_kama_action_scheduler_after_execute_action', 10, 3 ); /** * Function for `action_scheduler_after_execute` action-hook. * * @param $action_id * @param $action * @param $context * * @return void */ function wp_kama_action_scheduler_after_execute_action( $action_id, $action, $context ){ // action... }
- $action_id
- -
- $action
- -
- $context
- -
Где вызывается хук
action_scheduler_after_execute
woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php 90
do_action( 'action_scheduler_after_execute', $action_id, $action, $context );
Где используется хук в WooCommerce
woocommerce/packages/action-scheduler/classes/ActionScheduler_FatalErrorMonitor.php 32
add_action( 'action_scheduler_after_execute', array( $this, 'untrack_action' ), 0, 0 );
woocommerce/packages/action-scheduler/classes/ActionScheduler_FatalErrorMonitor.php 45
remove_action( 'action_scheduler_after_execute', array( $this, 'untrack_action' ), 0 );
woocommerce/packages/action-scheduler/classes/WP_CLI/ActionScheduler_WPCLI_QueueRunner.php 80
add_action( 'action_scheduler_after_execute', array( $this, 'after_execute' ), 10, 2 );
woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Logger.php 64
add_action( 'action_scheduler_after_execute', array( $this, 'log_completed_action' ), 10, 3 );