Learn about how to interact with Pages using WPGraphQL

There are various points of entry for menus and their items.


The menus query is the only query that will return all of the menus on your site. If you would like to query a specific menu or that menu's data, you will need the menu or menuItem's ID.

GraphiQL Loading...

After running the menus query grab one of the IDs in the response and use it in the other queries below.

GraphiQL Loading...GraphiQL Loading...GraphiQL Loading...

Edit on GitHub


  • Queries
  • Menus
  • Menu
  • Menu Item
  • Menu Items

Edit on GitHub

Discuss on Spectrum