WP_CLI::halt() Edit

Halt script execution with a specific return code.


Usage Usage

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

Top ↑

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


Top ↑