Title: DP Admin Access Menu
Author: Priyanshu Kast
Published: <strong>2026 年 1 月 15 日</strong>
Last modified: 2026 年 3 月 24 日

---

搜索插件

![](https://ps.w.org/dp-admin-access-menu/assets/banner-772x250.png?rev=3440522)

![](https://ps.w.org/dp-admin-access-menu/assets/icon-256x256.png?rev=3440536)

# DP Admin Access Menu

 作者：[Priyanshu Kast](https://profiles.wordpress.org/devpriyanshu/)

[下载](https://downloads.wordpress.org/plugin/dp-admin-access-menu.1.0.2.zip)

 * [详情](https://cn.wordpress.org/plugins/dp-admin-access-menu/#description)
 * [评价](https://cn.wordpress.org/plugins/dp-admin-access-menu/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/dp-admin-access-menu/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/dp-admin-access-menu/#developers)

 [支持](https://wordpress.org/support/plugin/dp-admin-access-menu/)

## 描述

DP Admin Access Menu is a powerful WordPress plugin that allows administrators to
control which backend menu items are visible to specific users. This is perfect 
for customizing the admin experience for different user roles and improving security
by limiting access to unnecessary menu items.

Whether you’re managing a team of content creators, restricting access for client
accounts, or creating a streamlined admin experience, DP Admin Access Menu gives
you granular control over what each user can see in the WordPress admin area.

#### Key Features

 * **User Selection**: Easy-to-use dropdown to select any WordPress user
 * **Menu Control**: Checkbox interface for all WordPress admin menu items including
   child menus
 * **Superadmin Protection**: First administrator (superadmin) always has full access
 * **Useradmin Support**: Configure menu access for other administrators (useradmins)
 * **Unlimited Users**: Configure menu access for unlimited users
 * **Unlimited Menus**: Select unlimited menu items per user
 * **Real-time Filtering**: Menu items are automatically hidden/shown based on saved
   settings
 * **User-friendly Interface**: Clean admin interface with select all/deselect all
   options
 * **Edit & Delete**: Manage configured users with edit and delete functionality
 * **Parent-Child Menu Logic**: Selecting a parent menu automatically selects its
   children
 * **Menu Counter**: Real-time counter showing selected menus
 * **URL Protection**: Prevents direct access to restricted admin pages via URL

#### How It Works

 1. Go to **Menu Access** in the WordPress admin sidebar (under DP Admin Access Menu)
 2. Select a user from the dropdown (or edit an existing configured user)
 3. Check/uncheck the menu items you want to show/hide for that user
 4. Click **Save Settings**
 5. The selected user will only see the checked menu items when they log in

#### Use Cases

 * **Client Management**: Give clients access only to specific sections of their
   website
 * **Team Collaboration**: Limit access for editors, authors, or contributors to
   their relevant areas
 * **Security Enhancement**: Hide sensitive admin sections from users who don’t 
   need them
 * **Customized Admin Experience**: Create a cleaner, focused admin interface for
   specific users
 * **Multi-Administrator Sites**: Manage menu access for multiple administrators
   with different responsibilities
 * **Training Environments**: Simplify the admin interface for users learning WordPress
 * **Agency Workflows**: Control what clients can access when managing their own
   sites

#### Superadmin vs Useradmin

 * **Superadmin**: The first administrator user (lowest user ID) always has full
   access to all menus and cannot be restricted. This ensures you never lock yourself
   out of your WordPress admin.
 * **Useradmin**: Other administrators can have their menu access configured and
   will only see assigned menus. This allows you to create different admin experiences
   for different administrator accounts.

#### Features

 * **Unlimited Users**: Configure menu access for as many users as needed
 * **Unlimited Menus**: Select unlimited menu items per user
 * **Fully Functional**: All features are available without restrictions

### Requirements

 * WordPress 5.0 or higher
 * PHP 7.0 or higher
 * Administrator access to configure settings

### Privacy

This plugin does not collect, store, or transmit any personal data. All settings
are stored locally in your WordPress database. No external services are used.

### Security

 * All menu restrictions are enforced server-side
 * Direct URL access to restricted pages is blocked
 * Superadmin protection prevents accidental lockout
 * Settings are stored securely in WordPress database
 * No external API calls – all functionality works locally

### Performance

The plugin is lightweight and optimized for performance:
 * Minimal database queries*
Efficient menu filtering using WordPress hooks * No impact on frontend performance*
Settings cached for fast menu rendering

### Compatibility

 * **WordPress**: 5.0 – 6.8+
 * **PHP**: 7.0 – 8.3+
 * **Multisite**: Limited support (single site recommended)
 * **Other Plugins**: Compatible with most WordPress plugins
 * **Themes**: Works with all WordPress themes

### Development

#### Contributing

Contributions are welcome! Please ensure your code follows WordPress coding standards
and best practices. You can contribute by:
 * Reporting bugs * Suggesting features*
Submitting pull requests * Improving documentation

#### Support

For support, feature requests, or bug reports, please visit the plugin support forum
on WordPress.org.

#### Changelog Policy

We maintain a detailed changelog for all versions. Major updates are announced in
the upgrade notice section.

### Credits

Developed by devpriyanshu following WordPress coding standards and best practices.
Built with security and user experience in mind.

### Additional Notes

 * The plugin is fully functional with unlimited users and unlimited menus
 * All core functionality works locally without any external services

## 屏幕截图

 * [[
 * Main admin interface showing user selection dropdown and menu checkboxes
 * [[
 * Configured users list with edit and delete functionality
 * [[
 * Menu access settings for a selected user with parent-child menu relationships
 * [[
 * User menu access configuration with unlimited users and menus

## 安装

#### Automatic Installation

 1. Log in to your WordPress admin panel
 2. Navigate to Plugins > Add New
 3. Search for “DP Admin Access Menu”
 4. Click “Install Now” and then “Activate”
 5. Navigate to **Menu Access** in the WordPress admin sidebar to configure settings

#### Manual Installation

 1. Download the plugin zip file
 2. Extract it to your computer
 3. Upload the `dp-admin-access-menu` folder to `/wp-content/plugins/` directory
 4. Activate the plugin through the ‘Plugins’ menu in WordPress
 5. Navigate to **Menu Access** in the WordPress admin menu to start configuring

#### First-Time Setup

 1. After activation, go to **Menu Access** in your WordPress admin sidebar
 2. Select a user from the dropdown menu
 3. Check the menu items you want to show for that user
 4. Click **Save Settings**
 5. The user will only see the selected menus when they log in

## 常见问题

### How many users can I configure?

You can configure menu access for unlimited users with unlimited menu items per 
user. All features are fully functional.

### Can I restrict the main administrator?

No, the first administrator (superadmin) always has full access to all menus and
cannot be restricted. This is a security feature to ensure you never lock yourself
out of your WordPress admin.

### Will this affect existing users?

No, by default all users see all menus. Menu restrictions only apply to users you
specifically configure in the plugin settings. Users you don’t configure will continue
to see all menus as normal.

### Can I configure menu access for other administrators?

Yes! You can configure menu access for other administrators (useradmins). They will
only see the menus you assign to them. This is useful for multi-admin sites where
different administrators have different responsibilities.

### What happens if I delete a user’s settings?

The user will see all menus again (default WordPress behavior) until you configure
new restrictions. All settings are stored in the WordPress database and can be easily
modified or removed.

### Is this plugin compatible with multisite?

The plugin works on single site installations. Multisite compatibility may vary 
depending on your network configuration.

### How does the parent-child menu selection work?

When you select a parent menu item, all its child menu items are automatically selected.
However, selecting a child menu does not automatically select its parent. This gives
you granular control over menu visibility.

### Can users access restricted pages directly via URL?

No, the plugin includes URL protection that prevents users from accessing restricted
admin pages even if they know the direct URL. They will be redirected appropriately.

### What happens to menu restrictions if I deactivate the plugin?

All menu restrictions are removed when the plugin is deactivated, and users will
see all menus again. Your settings are preserved in the database, so reactivating
the plugin will restore all restrictions.

### Does this plugin work with custom post types and custom menus?

Yes, the plugin works with all WordPress admin menu items, including custom post
types and custom menus added by other plugins or themes.

### Is my data secure?

Yes, all settings are stored locally in your WordPress database. The plugin does
not send any data to external servers.

### Does this plugin use external services?

No, this plugin does not use any external services. All functionality works locally
on your WordPress installation.

## 评价

此插件暂无评价。

## 贡献者及开发者

「DP Admin Access Menu」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Priyanshu Kast ](https://profiles.wordpress.org/devpriyanshu/)

[帮助将「DP Admin Access Menu」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/dp-admin-access-menu)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/dp-admin-access-menu/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/dp-admin-access-menu/)，或通过[RSS](https://plugins.trac.wordpress.org/log/dp-admin-access-menu/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/dp-admin-access-menu/)。

## 更新日志

#### 1.0.2

 * Fixed taxonomy access mapping so allowed Category/Tag permissions correctly allow
   create and edit term pages (`edit-tags.php` and `term.php`) including WooCommerce
   product taxonomies.
 * Improved normalized matching for menu slugs with query parameters to avoid false
   permission denials.

#### 1.0.1

 * Fixed user management access mapping so Users menu access correctly allows `user-
   edit.php` and `user-new.php`.
 * Added protection to block non-superadmin users from editing the superadmin account.

#### 1.0.0

 * Initial release
 * User menu access control
 * Superadmin and useradmin support
 * Unlimited users and unlimited menus
 * Edit and delete functionality
 * Real-time menu filtering

## 额外信息

 *  版本 **1.0.2**
 *  最后更新：**2 周前**
 *  活跃安装数量 **50+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/dp-admin-access-menu/)
 * 标签
 * [access-control](https://cn.wordpress.org/plugins/tags/access-control/)[admin](https://cn.wordpress.org/plugins/tags/admin/)
   [menu](https://cn.wordpress.org/plugins/tags/menu/)[user management](https://cn.wordpress.org/plugins/tags/user-management/)
 *  [高级视图](https://cn.wordpress.org/plugins/dp-admin-access-menu/advanced/)

## 评级

尚未提交反馈。

[添加我的评价](https://wordpress.org/support/plugin/dp-admin-access-menu/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/dp-admin-access-menu/reviews/)

## 贡献者

 *   [ Priyanshu Kast ](https://profiles.wordpress.org/devpriyanshu/)

## 支持

最近两个月解决的问题：

     总计 1，已解决 1

 [查看支持论坛](https://wordpress.org/support/plugin/dp-admin-access-menu/)