WordPress at Your Fingertips
function is not described

ActionScheduler_WPCLI_Scheduler_command::print_total_actions() protected WC 1.0

Print WP CLI message about how many actions are about to be processed.

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

No Hooks.

Return

null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->print_total_actions( $total );
$total(int) (required)
-

Code of ActionScheduler_WPCLI_Scheduler_command::print_total_actions() WC 6.1.1

protected function print_total_actions( $total ) {
	WP_CLI::log(
		sprintf(
			/* translators: %d refers to how many scheduled taks were found to run */
			_n( 'Found %d scheduled task', 'Found %d scheduled tasks', $total, 'woocommerce' ),
			number_format_i18n( $total )
		)
	);
}