Opus Growth

List WordPress Menus

List the navigation menus of a WordPress site: the navbar, footer menus, which theme location each one fills, and the links inside them.

Type
Lecture seule
Crédits
1
Plateforme
WordPress
Validation
Inutile, rien ne change

Ce qu'il fait

List the navigation menus of a WordPress site: the navbar, footer menus, which theme location each one fills, and the links inside them.

With no arguments it returns the classic menus and, on a block theme, the navigation blocks the header actually uses. Then pass menu_id to list a classic menu's links, or nav_id to list a navigation block's links. Either way you get the ids or paths you need before editing.

La description est en anglais car c'est le texte officiel que voit votre IA.

MCP: wordpress_menus

Comment l'utiliser

Vous n'appelez pas les outils par leur nom. Écrivez ce que vous voulez dans ChatGPT, Claude ou un autre assistant connecté à Opus Growth ; l'IA choisit cet outil quand il convient.

Paramètres

NomTypeObligatoirePar défaut
menu_idintegerFacultatif0Exact menu identifier to target. Use the ID returned by an Opus Growth list or create operation, not a display name.
nav_idintegerFacultatif0Exact nav identifier to target. Use the ID returned by an Opus Growth list or create operation, not a display name.
site_urlstringFacultatif·Exact URL of the connected WordPress site to target when more than one site is available.