handbook/references/internal-api/wp-cli-line.md
Pascal Birchler 264cb131bf
Fix handbook information architecture
- Organize files in folders according to the desired structure
- Use directory iterator to loop through all files and folders (makes generation more robust)
2025-06-25 15:38:39 +02:00

2.5 KiB

WP_CLI::line()

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


Usage

WP_CLI::line( $message = '' )
$message (string) Message to display to the end user.
@return (void)

Notes

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

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