Automattic\WooCommerce\Internal\ProductAttributesLookup

CLIRunner::warning()privateWC 1.0

Show a warning message using the WP_CLI text colorization feature.

Method of the class: CLIRunner{}

No Hooks.

Return

null. Nothing (null).

Usage

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

CLIRunner::warning() code WC 9.3.3

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