WP-CLI

A command line interface for WordPress

Docs » Internal API » Output

WP_CLI::error_multi_line()

Display a multi-line error message in a red box. Doesn’t exit script.


Usage

WP_CLI::error_multi_line( $message_lines )
$message (array) Multi-line error message to be displayed.

Notes

Error message is written to STDERR.

Internal API documentation is generated from the WP-CLI codebase on every release. To suggest improvements, please submit a pull request.