Automattic\WooCommerce\Internal\ProductAttributesLookup

CLIRunner::successprivateWC 1.0

Show a success message using the WP_CLI text colorization feature.

Method of the class: CLIRunner{}

No Hooks.

Returns

null. Nothing (null).

Usage

// private - for code of main (parent) class only
$result = $this->success( $text );
$text(string) (required)
Text to show.

CLIRunner::success() code WC 9.9.5

private function success( string $text ) {
	WP_CLI::success( WP_CLI::colorize( $text ) );
}