🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Konto Get it free
WP REST Menus icon
Möglicherweise aufgegeben Tested up to 5.9.21 #65 in api

WP REST Menus

This plugin adds new endpoints for WordPress registered menus. Usefull when building SPAs with Vuejs, React or any front-end framework. Works with Advacned Custom Fields, WPML, Polylang

Aktive Installationen90+10+ Stufe
Downloads · 30d300▼ -74.5% vs prev. 30d
Wertung5/54 Bewertungen
Gesundheits-Score32/100In Gefahr
Downloads aller Zeiten13.9KSeit Juli 2018
Unterstützung gelöst—Keine aktuellen Threads
erfordertWP 5.0PHP 5.6+
Downloads · 7d81▲ +5.2% week over week
Unser Urteil

Betrachten Sie eine Alternative

WP REST Menus shows warning signs in 2026 — compare the alternatives below before installing. It runs on 90+ sites, is rated 5/5 and was last updated 5 years ago, and scores 32/100 on our health check.

  • Kleine Benutzerbasis (90+ aktive Installationen)
  • Bisher sehr wenige Bewertungen
  • Kein Update in 4 Jahren
  • Nur getestet bis WordPress 5.9 (letzt ist 7.1)

Wie stapelt es sich?

Side-by-side bei Installationen, Updates, Bewertungen und Support

Tägliche Downloads

3672108Sep 4Oct 18Dec 2
Gestern21
Täglicher Durchschnitt (1 Jahr)17
Spitzentag145Oct 23, 2026
Letzte 12 Monate6.3K

Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.

Ranglisten

Where WP REST Menus stands today

WordPress.org Ranglisten suchen

Live-Position in der Plugin-Suche, Top 100
StichwortPositionKonkurrierende PluginsKategorie
API >100 10,000 Beste API-Plugins →
v2 >100 2,900 Best v2 plugins →
wp-rest-api >100 8,805 Best wp-rest-api plugins →
wp-rest-menus >100 1,048 Best wp-rest-menus plugins →

Versionsübernahme

Anteil aktiver Sites pro Release.

  • 1.0100.0%

Bewertungsaufschlüsselung

★★★★★★★★★★ 5 from 4 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About WP REST Menus

Aus der offiziellen Readme · V1.0.4

Beschreibung

This plugin adds new endpoints for WordPress registered menus.
Usefull when building SPAs with Vuejs, React or any front-end framework.
Works with Advacned Custom Fields, WPML, Polylang

The new endpoints available:

Get all menus

GET /menus/v1/menus

// Response sample
{  
    term_id: 2,
    name: "Main Menu",
    slug: "main-menu",
    term_group: 0,
    term_taxonomy_id: 2,
    taxonomy: "nav_menu",
    description: "",
    parent: 0,
    count: 8,
    filter: "raw"
},
...

Get a menus items by id (term_id)

GET /menus/v1/menus/<id>

// Response sample
{  
    ID: 5,
    post_author: "1",
    post_date: "2018-07-03 06:42:18",
    post_date_gmt: "2018-07-03 06:42:18",
    filter: "raw",
    db_id:5,
    menu_item_parent: "0",
    object_id: "5",
    object: "custom",
    type: "custom",
    type_label: "Custom Link",
    title: "Home",
    url: "https:\/\/wp-rest-menu.local\/",
    target: "",
    attr_title: "",
    description: "",
    classes: [  
     ""
    ],
    xfn: "",
    meta: null
},
...

Get all menu locations
All menu locations assigned in /wp-admin/nav-menus.php?action=locations

GET /menus/v1/menus/locations is deprecated and will be removed in newer versions use:
GET /menus/v1/locations

// Response example
{  
    slug: "top",
    description: "Top Menu"
},
{  
    slug: "social",
    description: "Social Links Menu"
}
...

Get all menu location items
All menu locations assigned in /wp-admin/nav-menus.php?action=locations

GET /menus/v1/menus/locations/<slug> is deprecated and will be removed in newer versions use:
GET /menus/v1/locations/<slug>

// Response samexampleple
{  
    ID: 5,
    post_author: "1",
    post_date: "2018-07-03 06:42:18",
    post_date_gmt: "2018-07-03 06:42:18",
    filter: "raw",
    db_id:5,
    menu_item_parent: "0",
    object_id: "5",
    object: "custom",
    type: "custom",
    type_label: "Custom Link",
    title: "Home",
    url: "https:\/\/wp-rest-menu.local\/",
    target: "",
    attr_title: "",
    description: "",
    classes: [  
     ""
    ],
    xfn: "",
    meta: null
},
...

There are two filters availiable:

Fields Filter

// it will return only the fields specified
GET /menus/v1/menus/<id>/?fields=ID,title,meta

// Response sample
// Response sample
{  
    ID: 5,
    title: "Home",
    meta: null
},
...

Nested Items Filter

// it will return menu items parents and nested children in a 'children' field
// Currently only one level deep is supported
GET /menus/v1/menus/<id>/?nested=1

// Response sample
{  
  ID: 1716,
  menu_item_parent: "0",
  object_id: "174",
  object: "page",
  title: "Level 1",
  meta: {  
     vue_component: "LevelComponent",
     menu-item-field-01: "Field 1 value",
     menu-item-field-02: "Field 2 value"
  },
  children:[  
     {  
        ID: 1717,
        menu_item_parent: "1716",
        object_id: "744",
        object: "page",
        title: "Level 2b",
        meta : {  
           vue_component: null
        }
     },
     ...
  ]
},
...

WP filter hooks

This plugin is quite configurable and provides lots of wp filter hooks from returned data in responses for each endpoint to params validation and endpoint permissions.

add_filter( 'wprm/get_menus/wp_get_nav_menus/args', 'my_wp_get_nav_menus', 10, 1 );
(used in GET /menus/v1/menus)

function my_wp_get_nav_menus( $args ) {
    // do something with wp_get_nav_menus $args array
    return $args;
}



add_filter( 'wprm/get_menus', 'my_get_menus', 10, 1 );
(used in GET /menus/v1/menus)

function my_get_menus( $menus ) {
    // do something with $menus array

    return $menus; // WP_Error|WP_HTTP_Response|WP_REST_Response|mixed
}



add_filter( 'wprm/get_menu_locations', 'my_get_menu_locations', 10, 1 );
(used in GET /menus/v1/locations)

function my_get_menu_locations( $locations ) {
    // You can modify the $locations array response (get_registered_nav_menus())

    return $locations; // WP_Error|WP_HTTP_Response|WP_REST_Response|mixed
}



add_filter( 'wprm/get_menu_items', 'my_get_menu_items', 10, 1 );
(used in GET /menus/v1/menus/<id>)

function my_rest_menu_item_fields( $menu ) {
    // You can modify the $menu items

    return $menu;
}



add_filter( 'wprm/get_location_menu_items', 'my_get_location_menu_items', 10, 1 );
(used in GET /menus/v1/menus/<id>)

function my_get_location_menu_items( $menu ) {
    // You can modify the locations $menu items

    return $menu;
}



add_filter( 'wprm/get_item_fields/filter_fields', 'my_filter_fields', 10, 1 );
(used to filter return field -node edges-)

function my_filter_fields( $fields ) {
    // You can modify the $fields array so
    // you can filter the return fields for all endpoints
    // without using the url param ?fields

    $fields = array( 'ID', 'title' );
    return $fields;
}

More filters

apply_filters('wprm/get_menus/permissions', '__return_true', $request );
apply_filters('wprm/get_menu_locations/permissions', '__return_true', $request );
apply_filters('wprm/get_menu_items/permissions', '__return_true', $request );
apply_filters('wprm/get_menu_items/validate/args/id', is_numeric( $param ), $param, $request, $key );
apply_filters('wprm/get_menu_items/validate/args/fields', is_string( $param ), $param, $request, $key );
apply_filters('wprm/get_menu_items/validate/args/nested', absint( $param ), $param, $request, $key );
apply_filters('wprm/get_location_menu_items/permissions', '__return_true', $request );
apply_filters('wprm/get_location_menu_items/validate/args/slug', is_string( $param ), $param, $request, $key );
apply_filters('wprm/get_location_menu_items/validate/args/fields', is_string( $param ), $param, $request, $key );
apply_filters('wprm/get_location_menu_items/validate/args/nested', absint( $param ), $param, $request, $key );
apply_filters('wprm/get_location_menu_items/permissions', '__return_true', $request );
apply_filters('wprm/get_location_menu_items/validate/args/slug', is_string( $param ), $param, $request, $key );
apply_filters('wprm/get_location_menu_items/validate/args/fields', is_string( $param ), $param, $request, $key );
apply_filters('wprm/get_location_menu_items/validate/args/nested', absint( $param ), $param, $request, $key );

Supports custom fields and Advanced Custom Fields
If ACF is installed the response node edge is acf else meta
In newer version these two edges will co exist and the plugin will separate natively registered custom fields ad acf registered ones.

Installation

There are no requirements other than WordPress and one active menu. Installation is simple:

  1. Laden Sie den Ordner wp-rest-menus in das /wp-content/plugins/-Verzeichnis hoch
  2. Aktivieren Sie das Plugin über das „Plugins“-Menü in WordPress

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.

Aktiv installiert Badge Bewertungsabzeichen Gesundheits-Score-Abzeichen

Best WP REST Menus alternatives

Alle API-Plugins →
Alternativen
Rang Plugin Aktive Installationen Wertung Aktualisierten Gesundheit
1 WP-Einwilligung API WP-Einwilligung API Einfache Zustimmung API Zum Lesen und Registrieren der aktuellen Einwilligungskategorie. von Rogier Lankhorst 300K+ ★★★★★★★★★★ 5 (2) Vor 2 Tagen 76
2 Ruhe deaktivieren API Ruhe deaktivieren API Deaktivieren Sie die Nutzung des Rests API auf Ihrer Website für Benutzer der Website. Jetzt mit Unterstützung der Benutzerrolle! Von Dave McHale 80K+ ★★★★★★★★★★ 4.8 (38) Vor 3 Jahren 37
3 Mailgun für WordPress Mailgun für WordPress Senden Sie einfach E-Mails von Ihrer WordPress-Website über Mailgun über HTTP API oder SMTP. by Mailgun 70K+ ★★★★★★★★★★ 3.8 (50) Vor 2 Monaten 81
4 Verbindung herstellen Verbindung herstellen Verbindung herstellen. Make lässt Sie entwerfen, bauen und automatisieren, indem Sie sich mit WordPress in… von machen 70K+ ★★★★★★★★★★ 2.9 (27) Vor 4 Wochen 70
5 Deaktivieren Sie WP REST API Deaktivieren Sie WP REST API Deaktiviert die WP REST API für Besucher, die nicht bei WordPress angemeldet sind. von Jeff Starr 30K+ ★★★★★★★★★★ 4.8 (36) Vor 4 Monaten 84
6 WP REST Cache WP REST Cache Aktivieren Sie das Caching der WordPress REST API und automatischen Flush-Caches bei der Bearbeitung von WP-Admin. von acato 10K+ ★★★★★★★★★★ 4.9 (42) Vor 3 tagen 89
7 Wpgraphql für ACF Wpgraphql für ACF WpGraphQL für ACF integriert fortschrittliche benutzerdefinierte Felder nahtlos in wpGraphQL. von Jason Bahl 10K+ ★★★★★★★★★★ 5 (1) Vor 1 Woche 75
8 WPGET API – Verbinden Sie sich mit jeder externen Pause API WPGET API – Verbinden Sie sich mit jeder externen Pause API Verbinden Sie eine beliebige Pause API mit WordPress. WPGET API Ermöglicht eine einfache API-Integration, so dass Sie… von David Anderson / Team-Updraft 10K+ ★★★★★★★★★★ 5 (32) Vor 2 Wochen 94
9 WordPress Ruhe API (Version 2) WordPress Ruhe API (Version 2) Greifen Sie über eine benutzerfreundliche HTTP-REST API auf die Daten Ihrer Website zu. (Version 2) Von Ryan McCue 10K+ ★★★★★★★★★★ 4.2 (34) Vor 9 Jahren 43
10 WP REST API Controller WP REST API Controller Aktivieren Sie eine Benutzeroberfläche, um die Sichtbarkeit zu aktivieren und die Eigenschaften in WP REST API-Anforderungen anzupassen. Von Evan Herman 7K+ ★★★★★★★★★★ 4.3 (12) Vor 4 Jahren 38

Fragen und Antworten

WP REST Menus: quick answers

Gerade Antworten, gezogen von Live WordPress.org Daten.

Quelle: WordPress.org

Is WP REST Menus free?

Yes. WP REST Menus is free to download and use from the official WordPress.org plugin directory.

Is WP REST Menus safe to use in 2026?

WP REST Menus shows warning signs in 2026 — compare the alternatives below before installing. It runs on 90+ sites, is rated 5/5 and was last updated 5 years ago, and scores 32/100 on our health check.

How many websites use WP REST Menus?

WP REST Menus is active on 90+ WordPress websites and has been downloaded 13,893 times since it launched in July 2018. It was downloaded 300 times in the last 30 days.

Does WP REST Menus work with WordPress 7.1?

WP REST Menus is officially tested up to WordPress 5.9.21, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does WP REST Menus need?

WP REST Menus requires PHP 5.6 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was WP REST Menus last updated?

The latest version, 1.0.4, was released on February 17, 2022 (5 years ago).

Who makes WP REST Menus?

WP REST Menus is developed and maintained by skapator.

What are the best alternatives to WP REST Menus?

The most popular alternatives to WP REST Menus are WP Consent API (300K+ installs), Disable REST API (80K+ installs) and Mailgun for WordPress (70K+ 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

↑↓ bewegen↵ öffnen