WordPress / API Reference
wp_get_menu_by_location
WordPress tool. Get the menu assigned to a specific theme location
This is a read-only tool: it retrieves menu by location from your WordPress account. It changes nothing.
Ask Claude
You do not call this tool yourself. Ask for the outcome and the client picks the tool:
Get menu by location in my WordPress account for [location].
It takes 1 required and 0 optional parameters.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
location | string | Yes | Location |
Related WordPress tools
wp_get_menuwp_get_active_installswp_get_active_themewp_get_all_settingswp_get_all_user_metawp_get_auto_update_plugins
Start free — 30 tool calls a month
No card required. Connect Google Ads, Meta Ads, GA4 or Search Console and ask Claude for the outcome — it picks the tool.