← All Plugins
R
Admin

Role-Based Menu Items

AddonLogic Role-Based Menu Items

About this Plugin

Attaches a Visibility rule dropdown to every nav menu item in the WordPress Menus editor. Rules are enforced server-side via the wp_get_nav_menu_items filter, so hidden items produce zero HTML output — no content is leaked to visitors. When an item is hidden, its child items are hidden automatically as well.

Plugin Details

Category Admin
Author Snehal Pancholi — Freelance Developer
Plugin Page https://addonlogic.com/role-based-menu-items
Requires WordPress 6.0+, PHP 8.1+
License GPL-2.0+

Installation

  1. Download the plugin ZIP file using the button on this page.
  2. Go to WordPress Admin → Plugins → Add New.
  3. Click Upload Plugin and select the downloaded ZIP.
  4. Click Install Now then Activate Plugin.