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.


null. Nothing (null).


$result = WP_CLI::line( $message );
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";