WP-CLI

A command line interface for WordPress

Docs » Internal API » Output

WP_CLI::halt()

Halt script execution with a specific return code.


Usage

WP_CLI::halt( $return_code )
$return_code (integer)

Notes

Permits script execution to be overloaded by WP_CLI::runcommand()

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