=== MemberHub ===
Contributors: markutos987
Donate link: https://wpbens.com/plugins/memberhub/
Tags: woocommerce membership, membership plugin, subscription, restrict content, members only
Tested up to: 7.0
Stable tag: 1.0.26
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Sell product subscriptions, restrict content, and offer members-only pricing with this WooCommerce membership plugin.

== Description ==

**[MemberHub](https://wpbens.com/plugins/memberhub/)** is a fast-loading and flexible WooCommerce membership plugin that transforms your WordPress website into a **powerful membership platform**. Whether you're running a content site, an online store, or a community forum, MemberHub gives you everything you need to **sell product subscriptions, manage membership plans, and control member-exclusive content — seamlessly.**

With MemberHub, you can create a variety of membership levels, each with its own pricing, rules, and benefits. Set up WooCommerce subscription products with recurring payments, or offer one-time membership access — all without writing any code. This flexibility allows you to customize your offerings to meet the specific needs of your audience, whether you're selling product subscriptions on WooCommerce, running a tiered content access system, or a combination of both.

*The plugin is fully integrated with WooCommerce*, making it an ideal solution for eCommerce store owners who want to create a members-only WooCommerce store — with special pricing, exclusive discounts, or products that are accessible only to paying members.

Members can enjoy advanced options like free shipping, members-only pricing, and access to products that are not available to the general public, all of which can be managed with just a few clicks.

**With MemberHub, you can create:**
👉 Regular membership WordPress website
👉 Blog website with exclusive members-only content
👉 Educational website with WooCommerce subscription products
👉 eCommerce website with recurring membership system
👉 Coaching website with membership system
👉 Community website that offers information to members only
👉 Paid newsletter websites

**Features**

Enjoy the advanced membership features for WordPress and grow your business. We have added tons of advanced features that are easy to integrate for any WooCommerce store or WordPress website.

– **[Flexible Membership Plans](https://wpbens.com/plugins/memberhub/):** Create multiple membership levels with customized rules, pricing, and benefits to meet diverse customer needs.
– **[Hassle-Free Subscription Management](https://wpbens.com/plugins/memberhub/):** Members can easily cancel their subscriptions at any time, fostering trust and reducing barriers to joining.
– **[Content Restriction](https://wpbens.com/plugins/memberhub/):** Protect premium content by restricting access to members only, enhancing the perceived value of your offerings. It will help you to scale the revenue from your website.
– **[WooCommerce Subscription Products & Recurring Payments](https://wpbens.com/plugins/memberhub/):** Set up WooCommerce subscription products with automated recurring payments to ensure consistent revenue and uninterrupted member access. Members can choose whether they want recurring subscriptions or one-time memberships.
– **[Custom Email Campaigns](https://wpbens.com/plugins/memberhub/):** Send targeted emails to members, keeping them engaged with personalized offers and updates. You can even send bulk emails with this WooCommerce membership plugin.
– **Insightful Membership Reports:** Access detailed reports to analyze member activity, subscription trends, and revenue performance.
– **Built-in eCommerce Integration:**
  – **Member Discounts:** Provide exclusive discounts to members directly in their cart, encouraging purchases and reducing abandonment.
  – **Free Shipping for Members:** Reward members with free shipping with a few clicks. Boost user satisfaction and repeat purchases to grow even better.
  – **Members-Only Pricing for WooCommerce:** Offer special pricing exclusively to members, increasing their lifetime value. The result? More revenue from the same audience.
  – **Product Access Control:** Restrict access to specific products, making them available only to your most loyal members.
  – **Promotional Pricing for Non-Members:** Attract new members by displaying exclusive offers and discounts to non-members.

**Why Choose MemberHub?**

– **Responsive Design:** MemberHub ensures responsive design that fits any display and gives the best user experience.
– **Optimized Performance:** Say no to bulky membership plugins that can negatively affect your WordPress website or WooCommerce store. MemberHub is built for fast loading and smooth operation, enhancing SEO and user satisfaction.
– **Ready-to-Use Templates:** We offer ready templates that simplify setup with pre-designed templates for subscriptions and content restriction.
– **Better Navigation:** Experience the best user interface that is easy to navigate. Everything is easily accessible from the plugin's dashboard.


== Frequently Asked Questions ==

**How do I set up a WooCommerce subscription product with MemberHub?**

Setting up a WooCommerce subscription product is straightforward with MemberHub. Go to MemberHub → Settings → General Settings and enable the Membership Plan. Then go to Subscription → Create Subscription Level, select "WooCommerce Membership," configure your product and pricing, and save. Your subscription product will be live and ready to purchase on your store. For a full walkthrough, see our [WooCommerce subscription product setup guide](https://wpbens.com/docs/memberhub/woocommerce-membership/product/).

**How do I sell product subscriptions in WooCommerce?**

MemberHub makes it easy to sell product subscriptions in WooCommerce. Create a subscription level under the WooCommerce Membership type, define your recurring billing interval (monthly, yearly, or one-time), and link it to a WooCommerce product. Once set up, customers can purchase the subscription product directly from your store, and MemberHub handles access control and recurring billing automatically.

**How do I create a members-only WooCommerce store?**

With MemberHub, you can turn any WooCommerce store into a members-only experience. Use the Product Access Control feature to restrict specific products to members only. You can also set members-only pricing, hide prices from non-members, and display custom messages to encourage visitors to sign up for a membership plan.

**How do I cancel a WordPress subscription or membership?**

Members can cancel their subscriptions at any time from their account page. As a site admin, you can also manually cancel or manage any subscription from the MemberHub Members dashboard. Cancellation removes access at the end of the billing period without deleting the member's account.

**How do I set up a membership plan?**

Navigate to the 'MemberHub' menu, select 'Membership Plans,' and create a new plan by defining its levels, pricing, and benefits.

**Can members cancel their subscriptions at any time?**

Yes, members can easily cancel their subscriptions from their account page without any complications.

**Does this plugin integrate with WooCommerce?**

Yes, MemberHub seamlessly integrates with WooCommerce, offering unique features like member discounts, members-only pricing, subscription products, and product access control.

**Do I need coding knowledge to use this membership plugin for WordPress?**

Not at all! This plugin is designed to relieve you from writing code or customizing code. Its drag-and-drop feature allows you to integrate any feature in a few clicks.

### 🔥 WHAT'S NEXT

If you like MemberHub, then consider checking out other WordPress plugins made by the same team:

🔔 **[FilterPlus](https://wordpress.org/plugins/filter-plus/)** – WordPress and WooCommerce Product Filter Plugin that allows users to add multiple filtering features like filter by Ratings, Tags, Price Range, Custom Fields, and more.
🔔 **[Discountify](https://wordpress.org/plugins/discountify/)** – Discount Rules, Dynamic Pricing & BOGO for WooCommerce
🔔 **[Quicker](https://wordpress.org/plugins/quicker/)** – Convert Your Browsers into Buyers and Maximize Conversions
🔔 **[Bens Email Marketing & Automation](https://wordpress.org/plugins/bens-email-marketing-automation/)** – Fast and simple Email Marketing, Newsletters, Automation & CRM for WordPress


== Screenshots ==

1. screenshot-1
2. screenshot-2

== Changelog ==

= 1.0.26 (July 02, 2026) =
Added: Admin email to send email

= 1.0.25 (June 30, 2026) =
Improve: Sales Report Page UX improve

= 1.0.24 (June 28, 2026) =
Improve: Subscription page — colored plan icon/avatar per card, improved visual hierarchy
Improve: Account details — stat cards now show icons and left-border accent
Improve: Sales Report page — KPI summary cards (Revenue, Orders, Refunds) above period table

= 1.0.23 (June 27, 2026) =
New: Subscription plans page — search, category filter tabs, per-card badge on thumbnail, category tag, Add to Cart button, per-page count display
New: Member details page — plan card UX improvements: reduced card size, search + pagination, Add to Cart button when plan has price
Fix: Recurring billing type disabled when MemberHubPro not active; force one-time for free users
Fix: Flatpickr calendar clipped by overflow:hidden — fixed with appendTo:document.body
Fix: Free plan auto-switches billing to one-time and disables recurring fields

= 1.0.22 (June 26, 2026) =
Improve: Member adding

= 1.0.21 (June 26, 2026) =
New: Add/Edit Member page fully redesigned — single card layout with profile header, horizontal tabs (Plan & Access, Account, Permissions, Activity, Notes), and two-column tab content
New: Member profile card — avatar with initials, Active/Inactive badge with status dot, last login, member since
New: Plan & Access tab — assigned plan selector, expiry date picker, Quick Actions (Extend/Pause/Cancel) with color-coded buttons
New: Current Plan Summary sidebar — plan name, status, start date, expiry, auto-renew
New: Assignment Preview card in Add mode — updates dynamically when a plan is selected
Tweak: Removed legacy membership_select_field/membership_checkbox_field helpers — replaced with native mh-field-group markup
Tweak: Admin CSS and JS now use filemtime() versioning to prevent browser cache issues during development
Fix: PHP warning — undefined variable $user_name on add member page (added default to get_single_data())
Fix: PHP warning — null dereference on package.php:45 during AJAX (added object check before ->post_type)
Fix: Plan name showing as dash — falls back to post title when plan_name meta is empty

= 1.0.20 (June 22, 2026) =
New: Add New Plan page fully redesigned — two-column card layout with Plan Details, Pricing, Access & Permissions, and Status cards
New: Plan Categories admin page — create, edit, and delete plan categories stored as WP options
New: Access Rules admin page — define reusable content access rules assignable to plans
New: Plan fields — Plan Slug (auto-generated), Plan Badge, Plan Category, Plan Features (repeatable), Billing Type, Signup Fee, Free Trial, Access Level
New: Access & Permissions — Content Restriction and WooCommerce Product Restriction as independent toggle panels
Tweak: Rewrote wp-modules.php and woo-modules.php to match new card-based UI (removed legacy .single-block markup)
Tweak: Removed Module Type selector — level_type auto-detected from active modules
Tweak: Plan features saved as JSON, entity-decode fix for FILTER_SANITIZE_SPECIAL_CHARS
Tweak: Admin CSS/JS now loads on Categories and Access Rules pages
Fix: Categories and Access Rules pages broken due to wp_redirect() after HTML output
Fix: Pro badge rendering full-width in toggle rows
Tweak: User Dashboard UX

= 1.0.19 (May 14, 2026)=
Tweak: User Dashboard UX 

= 1.0.18 (May 13, 2026)=
Tweak: Improve Course page UX 

= 1.0.17 (May 13, 2026)=
Tweak: Improve User Dashboard page UX 

= 1.0.16 (May 12, 2026)=
Tweak: Improve Modules page UX 

= 1.0.15 (May 08, 2026)=
Tweak: Improve WooCommerce subscription product details UX

= 1.0.14 (April 18, 2026)=
Tweak: Improve Report UX

= 1.0.13 (April 17, 2026)=
Fix: WooCommerce Membership dependency

= 1.0.12 (April 17, 2026)=
Fix: Showing WooCommerce membership options in WordPress Membership

= 1.0.11 (March 31, 2026)=
Fix: Subscription product saving issue

= 1.0.10 (March 30, 2026)=
Tweak: Improve Restrict product by member feature

= 1.0.9 (February 06, 2026)=
Tweak: Improve Subscription report

= 1.0.8 (January 27, 2026)=
Fix: Improve Subscription level

= 1.0.7 (January 27, 2026)=
Fix: Settings savings

= 1.0.6 (January 23, 2026)=
Tweak: Improvement Subscription Shortcode  

= 1.0.5 (October 24, 2025)=
Tweak: Improvement Dashboard  

= 1.0.4 (July 11, 2025)=
Tweak: Improvement OverView  

= 1.0.3 (June 11, 2025)=
Tweak: Improve Subscription form

= 1.0.2 (May 04, 2025)=
Tweak: Update constant value

= 1.0.1 (May 04, 2025)=
Tweak: Member reports improvement

= 1.0.0 (May 04, 2025)=
Added: Initial Release

== Upgrade Notice ==


== Installation ==


1. Upload the plugin files to the `/wp-content/plugins/memberhub` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress and activate the WooCommerce plugin.
3. Go to MemberHub → Settings → General Settings. Enable Membership Plan. Select Subscription Type → Purchase Subscription Packages.
4. Go to Subscription → Create Subscription Level. Select "WordPress Membership" or "WooCommerce Membership."
5. Select Single Post or Post Categories for WordPress Membership.
6. Go to Settings → Shortcode and place the shortcode on any page.
7. Purchase a subscription and you will be able to show the content.