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.

Метод класса: WP_CLI{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$result = WP_CLI::line( $message );
$message(строка)
Message to display to the end user.
По умолчанию: ''

Код WP_CLI::line() WP-CLI 2.8.0-alpha

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