Inspect options and transients
inspect_optionsIdentify autoloaded options exceeding Site Health's 800 KB warning and inspect transient hygiene, including expired and orphaned rows, to decide what to clean up before using cleanup_options.
Instructions
Report where the options table carries weight: total autoloaded bytes against Site Health's 800 KB warning, the largest autoloaded options with an owner guessed from installed plugin/theme slugs (flagging owners that are inactive or no longer installed), a per-owner rollup, and transient hygiene for both transients and site transients — count, bytes, expired rows, orphaned timeout rows and the largest entries. Honours WordPress 6.6 autoload values (on/auto-on/auto). Use it before cleanup_options to decide what to change. Needs the companion plugin.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many of the largest autoloaded options (and largest transients, up to 20) to list. | |
| site_id | No | Which configured WordPress site to act on. Optional — with a single site configured it is used automatically; with several, the default site is used unless you name one. Run list_sites for valid ids. |