
內容簡介
Restrict User Access 是一款快速簡便的 WordPress 會員外掛,能夠在幾分鐘內限制內容存取,讓使用者依據不同的會員等級(如白金、黃金或免費)獲得相應的權限,並可與 WooCommerce 整合。
【主要功能】
• 支援無限會員等級
• 自動化會員等級分配
• 上下文內容保護
• 簡易的權限管理
• 隱藏管理工具列與選單可見性
外掛標籤
開發者團隊
② 後台搜尋「Restrict User Access – Ultimate Membership & Content Protection」→ 直接安裝(推薦)
原文外掛簡介
Restrict User Access is a fast and simple Membership Plugin for WordPress. Restrict your content in minutes, NOT hours.
Quickly set up a paid membership site where your users can get different levels such as Platinum, Gold, or Free. Then, grant those levels when a user purchases a product in WooCommerce.
👥 Unlimited Access Levels
Users can have multiple levels, and you control how long memberships should last. When unauthorized users try to access restricted content, you can redirect them to another URL or display a teaser.
⚡ Level Membership Automations
Automatically add levels to your users based on something they do (Triggers) or something they are (Traits):
User Registration
User Roles
Logged-in or Guests
WooCommerce Purchases
Easy Digital Downloads Purchases
BuddyPress Member Types
GiveWP Donations
🔒 Contextual Content Protection
Prevent unauthorized users from visiting your posts, pages, or categories. You can even combine the conditions: protect all posts tagged “Premium” written by a select author.
The following Access Conditions are available out of the box:
Posts, Pages & Custom Post Types
Content with Tags, Categories, or Custom Taxonomies
Content written by select Authors
Page Templates
Blog Page & Post Type Archives
Author Archives
Taxonomy Archives
Front Page, Search Results, 404 Not Found Page
bbPress Profiles, Forums & Topics
BuddyPress Profile Sections
Languages (Polylang, qTranslate X, TranslatePress, Transposh, Weglot, WPML)
Pods Pages
Note that Access Conditions do not apply to content displayed in lists.
✅ Grant & Deny Capabilities
The easy-to-use WordPress User Manager gives you full control over the capabilities the members should or shouldn’t have. Access Level Capabilities will override the permissions set by roles or other plugins.
👁️ Hide Admin Bar & Nav Menu Visibility
Disable the admin bar for select levels and control what menu items members can see. You can even hide any widget area created with Content Aware Sidebars
🤖 Restrict Content from Other Plugins
Restrict User Access autodetects Custom Post Types and Taxonomies created by any plugin or theme. Built-in support for some of the most popular WordPress plugins means that you e.g. can restrict access to bbPress forums or multilingual content.
bbPress
BuddyPress
Easy Digital Downloads
Pods
Polylang
TranslatePress
WooCommerce
Weglot
WPML
and more …
🛡️ WordPress Security Enhancements
WP REST API Content Protection
Enforces Principle of Least Privilege to minimize attack surfaces and stop threat actors from harvesting your data
How to display content in lists
Display excerpts only or hide content when post types are displayed in blog, archives, search results, lists, etc.
📑 Restrict Content with Shortcodes
Fine-tune content visibility in your posts or pages by adding simple shortcodes:
[restrict level="platinum"]
This content can only be seen by users with Platinum level or above.
[/restrict]
[restrict level="!platinum"]
This content can only be seen by users without Platinum level or above.
[/restrict]
[restrict role="editor,contributor" page="1"]
This content can only be seen by editors and contributors.
Other users will see content from page with ID 1.
[/restrict]
[login-form]
👋 Developer-friendly API
Restrict User Access makes it super easy for developers to programmatically customize WordPress access control by adding a few lines of code to theme templates.
Example – Add level to current user
rua_get_user()->add_level($level_id);
Example – Check if current user has an active level membership
if(rua_get_user()->has_level($level_id)) {
//show restricted content
} else {
//show content if unauthorized
}
View full RUA PHP API documentation here.
🎛️ Premium Add-ons for Restrict User Access
Complete your WordPress membership site with these powerful extensions
ACF Restriction
Restrict content that contain data from Advanced Custom Fields plugin
Date Restriction
Restrict content based on the time it was published
Meta Box Restriction
Restrict content that contain data from Meta Box plugin
Timelock
Determine when to enable or disable select Access Conditions
URL Restriction
Restrict content based on the WordPress URL, with wildcard support
Visibility Control
Hide content from blog, search results, archives, custom lists, WP REST API, and more
