plugin-icon

EndPointy Menus

제작자: Gunjan Jaswal·
Expose WordPress menus via a custom REST API endpoint for headless and external applications.
버전
1.1.1
최근 업데이트일
May 21, 2026
EndPointy Menus

EndPointy Menus adds custom REST API routes to expose your WordPress navigation menus as JSON.

Base namespace: endpointy-menus/v1

Endpoints:

  • GET /wp-json/endpointy-menus/v1/menus Returns all registered menus with locations and items.

  • GET /wp-json/endpointy-menus/v1/menus/<id> Returns a single menu and its items by menu ID.

  • GET /wp-json/endpointy-menus/v1/locations Returns all registered menu locations with assigned menus.

  • GET /wp-json/endpointy-menus/v1/locations/<location> Returns a menu assigned to a specific location (e.g., ‘primary’, ‘footer’).

Query Parameters:

  • nested=true – Returns menu items in a hierarchical tree structure with parent-child relationships. Example: /wp-json/endpointy-menus/v1/menus/2?nested=true

This is useful for headless WordPress setups or any external app that needs to read your menu structure.

Usage

Example requests:

Get all menus: https://your-site.com/wp-json/endpointy-menus/v1/menus

Get single menu by ID: https://your-site.com/wp-json/endpointy-menus/v1/menus/2

Get all menu locations: https://your-site.com/wp-json/endpointy-menus/v1/locations

Get menu by location (e.g., ‘primary’): https://your-site.com/wp-json/endpointy-menus/v1/locations/primary

Get nested menu structure: https://your-site.com/wp-json/endpointy-menus/v1/menus/2?nested=true https://your-site.com/wp-json/endpointy-menus/v1/locations/primary?nested=true

Use these URLs directly from your front-end application or API client.

Support the Developer

If you find this plugin useful, you can support the developer:

  • Website: https://gunjanjaswal.me
  • GitHub: https://github.com/gunjanjaswal/Endpointy-Menus
  • Ko-fi: https://ko-fi.com/gunjanjaswal

Contributing

Contributions, issues, and feature requests are welcome! GitHub: https://github.com/gunjanjaswal/Endpointy-Menus Issues: https://github.com/gunjanjaswal/Endpointy-Menus/issues

무료유료 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 7.0
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.