Check site health
wp_site_healthRetrieve a quick WordPress health summary covering PHP and WordPress versions, HTTPS, debug settings, memory limit, object cache, file modification locks, and pending update counts.
Instructions
Get a short health summary: PHP version and whether it is 7.4 or newer, WordPress version, HTTPS, WP_DEBUG, WP_MEMORY_LIMIT, persistent object cache, multisite, whether file changes are disabled (DISALLOW_FILE_MODS), and the counts of pending updates from WordPress' last update check. Needs manage_options. Read-only; takes no arguments, runs none of the Site Health tests of wp-admin and makes no remote request. wp_get_update_status names the pending updates; wp_site_info lists versions, theme and plugins.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||