WP API Menus
This plugin extends the WordPress JSON REST API with new routes for WordPress registered menus
Betrachten Sie eine Alternative
WP API Menus shows warning signs in 2026 — compare the alternatives below before installing. It runs on 2K+ sites, is rated 5/5 and was last updated 6 years ago, and scores 40/100 on our health check.
- Momentum — downloads up 41.4% vs the previous 30 days
- Kein Update in 6 Jahren
- Nur getestet bis WordPress 5.5 (letzt ist 7.1)
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where WP API Menus stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| JSON | >100 |
| json rest api | >100 |
| menus | >100 |
| wp-api | >100 |
| wp-rest-api | >100 |
Versionsübernahme
Anteil aktiver Sites pro Release.
Bewertungsaufschlüsselung
★★★★★★★★★★ 5 from 8 reviews
About WP API Menus
From the official readme · v1.3.2Beschreibung
This plugin extends the WordPress JSON REST API with new routes for WordPress registered menus
The new routes available will be:
/menuslist of every registered menu./menus/<id>data for a specific menu./menu-locationslist of all registered theme locations./menu-locations/<location>data for menu in specified menu in theme location.
Currently, the menu-locations/<location> route for individual menus will return a tree with full menu hierarchy, with correct menu item order and listing children for each menu item. The menus/<id> route will output menu details and a flat array of menu items. Item order or if each item has a parent will be indicated in each item attributes, but this route won’t output items as a tree.
You can alter the data arrangement of each individual menu items and children using the filter hook json_menus_format_menu_item.
An important note on WP API V2:
In V1 the routes are located by default at wp-json/menus/ etc.
In V2 the routes by default are at wp-json/wp-api-menus/v2/ (e.g. wp-json/wp-api-menus/v2/menus/, etc.) since V2 encourages prefixing and version namespacing.
Installation
This plugin requires having WP API installed and activated or it won’t be of any use.
Install the plugin as you would with any WordPress plugin in your wp-content/plugins/ directory or equivalent.
Once installed, activate WP API Menus from WordPress plugins dashboard page and you’re ready to go, WP API will respond to new routes and endpoints to your registered menus.
Änderungsprotokoll
API V2 only: mind lowercase id instead of uppercase ID in API responses, to match the standard for id used across WP REST API.
1.3.2
- Fix: Address V2 register_rest_route compatibility issue with WP 5.5 (missing permission_callback arg) – props @thefrosty
1.3.1
- Tweak: The
object_slugproperty is now available to get the slug for relative URLs – props @Fahrradflucht
1.3.0
- Fix (V2): Nodes duplication in sublevel menu items, see https://github.com/unfulvio/wp-api-menus/pull/22 – props @bpongvh
- Fix (V2): The items array was empty because it was looking for “ID” key instead of “id” – props @Dobbler
- Fix (V1): Check for JSON_API_VERSION constant, as in a mu-plugin installation of WP API 1.0 it will not show up under active_plugins – props @pdufour
1.2.1
- Tweak (V2 only): Use lowercase
idinstead of uppercaseIDin API responses, to match the standard lowercaseidused across WP REST API – props @puredazzle - Fix: Fixed WP API v1 version detection for WordPress 4.4 – props Thomas Chille
1.2.0
- Enhancement: Added WP REST API v2 support – props @foxpaul
- Misc: Supports WordPress 4.3
1.1.5
- Misc: Minor edits to headers and phpdocs
- Misc: Improved security
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best WP API Menus alternatives
All JSON plugins →Fragen und Antworten
WP API Menus: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is WP API Menus free?
Yes. WP API Menus is free to download and use from the official WordPress.org plugin directory.
Is WP API Menus safe to use in 2026?
WP API Menus shows warning signs in 2026 — compare the alternatives below before installing. It runs on 2K+ sites, is rated 5/5 and was last updated 6 years ago, and scores 40/100 on our health check.
How many websites use WP API Menus?
WP API Menus is active on 2K+ WordPress websites and has been downloaded 112,618 times since it launched in January 2015. It was downloaded 1,158 times in the last 30 days.
Does WP API Menus work with WordPress 7.1?
WP API Menus is officially tested up to WordPress 5.5.0, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was WP API Menus last updated?
The latest version, 1.3.2, was released on August 18, 2020 (6 years ago).
Who makes WP API Menus?
WP API Menus is developed and maintained by Fulvio Notarstefano.
What are the best alternatives to WP API Menus?
The most popular alternatives to WP API Menus are Disable REST API (80K+ installs), Export All URLs (50K+ installs) and Disable WP REST API (30K+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte
