Read site options
get_optionsRead WordPress option values by name to inspect plugin and theme configurations, including autoloaded options that often bloat the database.
Instructions
Read values from the WordPress options table by name — where plugins and themes keep their configuration. Autoloaded options are also where a bloated database often hides.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many options to return when browsing. | |
| names | No | Option names to read. Omit with `search` to browse. | |
| search | No | Find option names containing this substring. | |
| 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. |