You appear to be a bot. Output may be restricted
Description
Handle WP CLI message when the action has completed.
Usage
ActionScheduler_WPCLI_QueueRunner::after_execute( $action_id, $action );
Parameters
- $action_id
- ( int ) required –
- $action
- ( null|ActionScheduler_Action ) optional – The instance of the action. Default to null for backward compatibility.
Returns
void
Source
File name: woocommerce/packages/action-scheduler/classes/WP_CLI/ActionScheduler_WPCLI_QueueRunner.php
Lines:
1 to 9 of 9
public function after_execute( $action_id, $action = null ) { // backward compatibility if ( null === $action ) { $action = $this->store->fetch_action( $action_id ); } /* translators: 1: action ID 2: hook name */ WP_CLI::log( sprintf( __( 'Completed processing action %1$s with hook: %2$s', 'woocommerce' ), $action_id, $action->get_hook() ) ); }