WP_CLI::line()public staticWP-CLI 1.0

Display informational message without prefix, and ignore --quiet.

Message is written to STDOUT. WP_CLI::log() is typically recommended; WP_CLI::line() is included for historical compat.

Method of the class: WP_CLI{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = WP_CLI::line( $message );
$message(string)
Message to display to the end user.
Default: ''

WP_CLI::line() code WP-CLI 2.8.0-alpha

public static function line( $message = '' ) {
	echo $message . "\n";
}