WP_CLI::error_multi_line() Edit

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

Usage Usage

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

Top ↑

Notes 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.

Top ↑