WordPress at Your Fingertips
function is not described

ActionScheduler_WPCLI_QueueRunner::before_execute() public WC 1.0

Handle WP CLI message when the action is starting.

{} It's a method of the class: ActionScheduler_WPCLI_QueueRunner{}

No Hooks.


null. Nothing.


$ActionScheduler_WPCLI_QueueRunner = new ActionScheduler_WPCLI_QueueRunner();
$ActionScheduler_WPCLI_QueueRunner->before_execute( $action_id );
$action_id (required)

Code of ActionScheduler_WPCLI_QueueRunner::before_execute() WC 6.1.0

public function before_execute( $action_id ) {
	/* translators: %s refers to the action ID */
	WP_CLI::log( sprintf( __( 'Started processing action %s', 'woocommerce' ), $action_id ) );