wp_cli_status
Check if WP-CLI is available for WordPress operations. Verifies wp-config.php settings, proc_open availability, and returns path and version to prevent errors before running WP-CLI commands.
Instructions
Check WP-CLI availability. Returns whether the feature is enabled in wp-config.php, whether proc_open is available, the WP-CLI path and version. Call this before any WP-CLI command.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||