ActionScheduler_WPCLI_Scheduler_command::print_total_actions()
Print WP CLI message about how many actions are about to be processed.
Method of the class: ActionScheduler_WPCLI_Scheduler_command{}
No Hooks.
Return
null
. Nothing (null).
Usage
// protected - for code of main (parent) or child class $result = $this->print_total_actions( $total );
- $total(int) (required)
- -
ActionScheduler_WPCLI_Scheduler_command::print_total_actions() ActionScheduler WPCLI Scheduler command::print total actions code WC 9.3.3
protected function print_total_actions( $total ) { WP_CLI::log( sprintf( /* translators: %d refers to how many scheduled tasks were found to run */ _n( 'Found %d scheduled task', 'Found %d scheduled tasks', $total, 'woocommerce' ), $total ) ); }