WordPress at Your Fingertips
function is not described

ActionScheduler_WPCLI_Scheduler_command::print_success() protected WC 1.0

Print a success message with the number of completed actions.

{} 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_success( $actions_completed );
$actions_completed(int) (required)
-

Code of ActionScheduler_WPCLI_Scheduler_command::print_success() WC 6.1.1

protected function print_success( $actions_completed ) {
	WP_CLI::success(
		sprintf(
			/* translators: %d refers to the total number of taskes completed */
			_n( '%d scheduled task completed.', '%d scheduled tasks completed.', $actions_completed, 'woocommerce' ),
			number_format_i18n( $actions_completed )
		)
	);
}