跳到内容

WP User Profile Restriction

v2.0.2

WPCommerz · 2019年1月7日 上架

Restrict user profile editing with granular role-based controls, additional wp-admin page restrictions, REST API protection, and custom redirects.

正在使用
500+
评分
5.0 / 5
累计下载
6,013
最近更新
2026年11月23日
5 条评价需要 WordPress 4.0.3+已测试到 7.1.5

贡献者

截图

Settings page with role-based restriction options and the support sidebar
Settings page with role-based restriction options and the support sidebar
Restricted admin pages selection, including the screens coming in a future release
Restricted admin pages selection, including the screens coming in a future release
REST API restriction setting
REST API restriction setting
Custom redirect configuration
Custom redirect configuration
Restricted user attempting to access a blocked admin page
Restricted user attempting to access a blocked admin page
WP User Profile Restriction

WP User Profile Restriction is a powerful yet simple plugin that allows you to restrict profile editing capabilities for specific user roles. Perfect for demo sites, membership websites, or any WordPress installation where you need to maintain control over user profile modifications.

Key Features

  • Granular Role-Based Restrictions – Choose exactly which user roles should be restricted from editing their profiles
  • Restricted Admin Pages – Block restricted roles from the user management screens: Profile (enabled by default), Users list, Add New User and Edit User
  • REST API Restriction Parity – Profile updates sent to /wp-json/wp/v2/users/me or to the user’s own /wp-json/wp/v2/users/<id> endpoint are rejected with HTTP 403, so the restriction cannot be bypassed through the API, a mobile app or a headless client
  • Custom Redirect Options – Redirect restricted users to a specific URL instead of showing an error message
  • Automatic Menu Hiding – Profile links are automatically hidden from admin bar and dashboard menu for restricted users
  • Easy Settings Page – Configure all options from a user-friendly settings page in WordPress admin
  • Built-in Contact Form – Send a question or a feature suggestion to the plugin author straight from the settings page, without leaving your dashboard
  • Backward Compatible – Maintains default security by restricting Subscribers and Contributors by default
  • No Coding Required – Simple checkbox interface for all configurations
  • Lightweight & Fast – Minimal impact on site performance

Check out our Pro features and the Early Black Friday deal here.

How It Works

  1. Install and Activate – The plugin works immediately with secure defaults
  2. Configure Settings – Go to Settings > Profile Restriction to customize
  3. Select Roles – Check which user roles should be restricted
  4. Select Pages – Profile is blocked out of the box; optionally also check the Users list, Add New User and Edit User screens
  5. Keep REST Protection On – Leave the REST API restriction enabled so the same rules apply to API requests
  6. Optional Redirect – Set a custom redirect URL if desired
  7. Done! – Restricted users can no longer edit their profiles from the dashboard or the API

Default Behavior

By default, the plugin restricts Subscribers and Contributors from editing their profiles. This maintains security while allowing Editors, Authors, and Administrators full access. You can customize this behavior at any time from the settings page.

Perfect For

  • Demo and staging websites
  • Membership sites
  • Multi-author blogs
  • Educational institutions
  • Client websites
  • Any site requiring profile editing restrictions

What Gets Restricted

  • Direct access to profile.php page
  • Any additional user management pages you select: the Users list, Add New User and Edit User
  • Profile update requests sent through the WordPress REST API
  • Profile link in admin bar
  • Profile submenu in dashboard
  • All profile editing capabilities for selected roles

Administrator Protection

Administrators always retain full access to edit any profile, regardless of plugin settings. This ensures you never lock yourself out of critical functionality.

Additional Information

Support

The quickest way to reach us is the contact form in the settings page (Dashboard > Settings > User Profile Restriction) sidebar, which emails your question or feature suggestion directly to the plugin author. You can also visit the plugin’s support forum on WordPress.org.

Reviews

If the plugin is doing its job on your site, a five star review on WordPress.org helps other site owners find it and is genuinely appreciated.

Privacy

This plugin does not collect, store, or transmit any user data, and all settings are stored locally in your WordPress database. The only exception is the contact form on the settings page: when an administrator chooses to submit it, the name, email address and message they type are emailed to the plugin author, together with your site URL, plugin version and WordPress version so we can reproduce the issue. Nothing is sent unless the form is submitted.

Credits

Developed and maintained by TheInnovs | WPCommerz

Plums

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

导航

说明

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

© 2026 Plums