Complete the code to check the WordPress site health status using WP-CLI.
wp site-[1] statusThe correct WP-CLI command to check site health is wp site-health status. The health subcommand is required to access site health features.
Complete the WP-CLI command to get detailed site health info.
wp site-health [1]The info subcommand shows detailed site health information in WP-CLI.
Fix the error in the WP-CLI command to get site health checks.
wp site-health checks [1]The correct command to list site health checks is wp site-health checks list. The list subcommand lists available checks.
Fill both blanks to create a command that runs all site health checks and outputs JSON.
wp site-health [1] --format=[2]
The command wp site-health run --format=json runs all health checks and outputs results in JSON format.
Fill all three blanks to create a WP-CLI command that updates the site health status and clears cache.
wp site-health [1] && wp cache [2] && wp cache [3]
The command runs site health checks with run, then clears cache using flush twice to ensure cache is cleared.