跳到内容

Privilege Menu

v1.8.4

FuzzGuard · 2014年3月30日 上架

This plugin allows you to display menu items based on if a user is logged in, logged out or based on the role you have given the user.

正在使用
1,000+
评分
5.0 / 5
累计下载
3.8 万
最近更新
2019年2月18日
7 条评价需要 WordPress 3.8+已测试到 5.0.32

贡献者

截图

How to add an menu item as only viewable to logged IN users.
How to add an menu item as only viewable to logged IN users.
How to add an menu item as only viewable to logged OUT users.
How to add an menu item as only viewable to logged OUT users.
This is the menu a logged IN user would see. These users don't see "Login" due to the fact that it is denied to logged IN users in the Admin Panel Nav Menus section.
This is the menu a logged IN user would see. These users don't see "Login" due to the fact that it is denied to logged IN users in the Admin Panel Nav Menus section.
This is the menu a logged OUT user would see. These users don't see "Logout", "My Account" or "Control Panel" due to the fact that they are denied to logged OUT users in the Admin Panel Nav Menus section.
This is the menu a logged OUT user would see. These users don't see "Logout", "My Account" or "Control Panel" due to the fact that they are denied to logged OUT users in the Admin Panel Nav Menus section.
This is a view of a menu item you could select only to be viewable for administrators.
This is a view of a menu item you could select only to be viewable for administrators.

This plugin allows you to display menu items based on if a user is logged in, logged out or based on the role you have given the user.

This plugin allows fine-grained permissions to be added to each individual menu item to display or not display the item based on the
users logged in/logged out status or the role assigned to the user. This solves the problem of having to modify theme functions.php files to add in menu restrictions. The changes in functions.php is often overwritten by a theme update. This plugin removes that worry, as you can update the theme, independent of the plugin.

Please Note

This plugin uses a modified version of the Nav Menu Walker class. This means any other plugins that utilize their own custom Nav Menu Walker class, can and will conflict with this plugin. WordPress developers have support for proper custom hooks in this area of the Admin Menu slated for v4.8 release. Please see FAQ item “I cannot see the options for Privilege Menu under menu items in the Admin Panel?” for more information.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums