Simple Membership
Simple membership plugin adds membership functionality to your site.
Install in
A flexible, well-supported, and easy-to-use WordPress membership plugin for offering free and premium content from your WordPress site
The simple membership plugin lets you protect your posts and pages so only your members can view the protected content.
Unlimited Membership Access Levels
Set up unlimited membership levels (example: free, silver, gold etc) and protect your posts and pages using the membership levels you create.
Flexible Membership Duration Options
Simple Membership supports multiple membership duration models, including:
- Fixed duration (days, weeks, months, or years)
- No expiry / until canceled
- Fixed future expiry date
- Annual memberships (calendar or fiscal year based)
- Subscription-driven access
Each membership level can be configured independently to match your access rules.
User Friendly Interface for Content Protection
When you are editing a post or page in the WordPress editor, you can select to protect that post or page for your members.
Non-members who try to view a protected page will be prompted to log in or become a member.
Have Free and Paid Memberships
You can configure your site to offer free memberships, paid memberships, or both. Paid membership payments are handled securely via PayPal, Stripe, or Braintree.
Both one-time and recurring/subscription payments are supported for PayPal and Stripe. Use the subscription payment feature to offer memberships that renew automatically on a regular basis (for example, every month or every year), or offer one-time payment memberships that do not renew automatically.
Braintree supports one-time membership payments.
Option to make membership payment buttons using the new PayPal Checkout API.
For free memberships, you can enable email activation or email confirmation during the registration process.
Membership Payments Log
All the payments from your members are recorded in the plugin. You can view them anytime by visiting the payments menu from the admin dashboard.
WordPress Roles for Members
Assign a WordPress role to the members of each membership level. You can optionally switch members to a different role when their membership expires, and the level’s role is given back automatically when they renew.
This is useful for granting and removing access in other plugins that work with WordPress roles (for example, forum or course plugins).
Developer API
There are lots of action and filter hooks that a developer can use to customize the plugin.
There is also an API that can be used to query, create, update member accounts.
Member Login Widget on The Sidebar
You can easily add a member login widget on the sidebar of your site. Simply use the login form shortcode in the sidebar widget.
You can also customize the member login widget by creating a custom template file in your theme (or child theme) folder.
Option to show a password visibility toggle option in the login form.
Documentation
Read the setup documentation after you install the plugin to get started.
Plugin Support
If you encounter any issues with this plugin, please visit our website to post on the support forum or contact us directly.
https://simple-membership-plugin.com/
You can create a free forum account to ask your questions.
Additional Features
- Works with any WordPress theme.
- Ability to protect photo galleries.
- Ability to protect attachment pages.
- Show teaser content to convert visitors into members.
- Comments on your protected posts will also be protected automatically.
- There is an option to enable debug logging so you can troubleshoot membership payment related issues easily (if any).
- Ability to customize the content protection message that gets shown to non-members.
- Ability to partially protect post or page content.
- You can apply protection to posts and pages in bulk.
- Ability to use merge vars in the membership email notification.
- Membership management side is handled by the plugin.
- Ability to manually approve your members.
- Ability to import WordPress users as members.
- Search for a member’s profile in your WP admin dashboard.
- Filter members list by account status.
- Filter members list by membership level.
- Site admins can save private notes about members, providing a convenient way to keep track of important information.
- Can be translated to any language.
- Hide the admin toolbar from the frontend of your site.
- Allow your members to delete their membership accounts.
- Send quick notification email to your members.
- Email all members by membership level, with an option to filter by account status.
- Customize the password reset email for members.
- Use Google reCAPTCHA on your member registration form.
- Use Google reCAPTCHA on your member login and password reset form.
- The login and registration widgets will be responsive if you are using a responsive theme.
- Ability to restrict the commenting feature on your site to your members only.
- Front-end member registration page.
- Front-end member profiles.
- Front-end member login page.
- Option to configure after login redirection for members.
- Option to configure after registration redirect for members.
- Option to configure after logout redirection for members.
- Option force the members to use strong password.
- Option to make the users agree to your terms and conditions before they can register for a member account.
- Option to make the users agree to your privacy policy before they can register for a member account.
- Option to hide the registration/join option. Useful if you prefer visitors not to see the registration option on your site.
- Option to automatically logout the members when they close the browser.
- Ability to forward the payment notification to an external URL for further processing.
- Automatically deactivates a member’s account when their PayPal or Stripe payment is refunded, with options to keep the account active for one-time or subscription refunds.
- Option to configure whitelisting for user email addresses to allow registration only from specific email addresses or email domains.
- Option to configure blacklisting for user email addresses to block registration from certain email addresses or email domains.
- Allows you to set an active login limit for members, helping to prevent account sharing.
- Option to enable and set failed login attempt limit, which helps to protect against brute force attacks.
- Option to enable login event tracking, allowing you to view the history of member logins.
- Option to reset the settings and data of the plugin to start fresh.
- Option to configure PayPal payment buttons for memberships (one-time and recurring payments).
- Option to configure Stripe payment buttons for memberships (one-time and recurring payments).
- Option to configure Braintree payment buttons for memberships (one-time payments).
- Free Social Login addon that lets users log in with their Google or Facebook accounts.
- The plugin is actively maintained and we are working on new features for the plugin.
- Browse the plugin documentation to learn more about the features of this plugin.
Language Translations
The following language translations are already available:
- English
- German
- French
- Spanish
- Spanish (Venezuela)
- Chinese
- Portuguese (Brazil)
- Portuguese (Portugal)
- Swedish
- Macedonian
- Polish
- Turkish
- Russian
- Dutch (Netherlands)
- Dutch (Belgium)
- Romanian
- Danish
- Lithuanian
- Serbian
- Japanese
- Greek
- Latvian
- Indonesian
- Hebrew
- Catalan
- Hungarian
- Bosnian (Bosnia and Herzegovina)
- Slovak
- Italian
- Norwegian
- Mexican
- Arabic
- Czech
- Finnish
You can translate the plugin using the language translation documentation.
Written by Joobi from the project's own listing. See the source page
4.9.0
- The membership level of the registration forms is now signed with HMAC-SHA256 and a strong random secret key, and checked with a constant-time comparison.
- Email activation link: the activation code is now checked first. A wrong or used link, a missing member and an already active account all show the same “invalid or expired” message, so the link can no longer be used to find out which member accounts exist or are active.
- Stripe Legacy subscriptions (created with the removed Stripe Legacy subscription button): renewals are now linked to the member and extend their access, and cancellations and refunds now update the member account. The member is found by the Stripe customer ID saved by the Legacy button.
- The member ID sent with a payment (from the checkout page) is now only used when it is a valid member ID, for all payment gateways. An invalid value is no longer saved on the payment record.
4.8.9
- Fixed an issue where a password reset could be undone on some sites (for example, with a persistent object cache), so the member could not log in with the new password. The WP user profile sync no longer runs while the plugin is updating the WP user itself, it uses the data being saved, and it only updates the synced fields of the member record.
- New optional “WordPress Role After Expiry” setting on each membership level. When a member of the level expires, their WordPress role is changed to the selected role. The level’s Default WordPress Role is applied again when the member makes a new payment (renewal or subscription payment), or when an admin reactivates an expired account. Leaving it set to “No change” keeps the current behavior.
- Added the swpm_account_status_updated_to_expired_at_login and swpm_bulk_account_status_updated action hooks.
- The paid registration link on the thank you page (and the redirect to it after the payment) is now only shown in the browser that made the payment, for all payment gateways (Stripe, PayPal, PayPal Standard and Braintree). It is no longer found using the visitor’s IP address, which could be spoofed. In any other browser, the member uses the link sent by email. Thanks to Jonathan Schemoul for reporting this.
- Removed the deprecated “Stripe Legacy Buy Now” and “Stripe Legacy Subscription” payment buttons (they used Stripe’s old Checkout, which does not support SCA). Use the Stripe Buy Now and Stripe Subscription buttons instead. An existing Stripe Legacy button no longer shows on the page (site admins see a note to replace it). Existing Stripe Legacy subscriptions keep working: their renewals and cancellations are still handled by the Stripe webhook.
- Fixed a PHP warning when a membership level setting is saved more than once in the same request (for example, by an addon).
- Fixed an issue (since version 4.8.8) where the renewal payments of a Stripe Legacy subscription were not recorded. The check that ignores the renewals of another site’s subscription now also recognizes Stripe Legacy subscriptions (they are linked to the member by the Stripe customer ID).
- Fixed an issue where the payments list did not show a PayPal subscription’s “subscription created” or “subscription canceled” status (and its color) on sites where that status is saved translated.
- Plugin Check (PCP) reported issues fixed.
4.8.8
- Fixed comment protection not applying to the Comment Content block in block themes (for example, Twenty Twenty-Five).
- The trial info of a new subscription (trial or not, and the trial amount) is now also saved on the subscription agreement record for the PayPal (PPCP) subscription checkout. It uses the subscription data from the PayPal API.
- Stripe: a subscription renewal payment notification for a subscription that was not created on this site is now ignored (for example, when two sites use the same Stripe account). It no longer saves a payment record without a member. Added the swpm_stripe_webhook_skip_unknown_subscription filter hook to turn this check off.
- Fixed an issue where deleting a payment record from the payments menu did not delete its row in the old payments database table.
- PayPal subscriptions (PPCP): for a refund of the payment made at checkout, the swpm_payment_refunded action data now also includes the checkout’s transaction ID (checkout_txn_id, the order ID), the same as for Stripe subscriptions.
- Fixed an issue where a PayPal subscription agreement record was not recognized on sites where its ‘subscription created’ status is saved translated (for example, in the cancel subscription shortcode, the subscription status updates and the transaction details page in admin). For a PayPal Standard subscription with a paid trial, this could also cause the trial payment to be rejected as an amount mismatch.
- Improvement: the debug log files are now saved in a “logs” folder of the plugin that blocks direct access (on Apache/LiteSpeed servers), and their file names now use a longer random suffix that is hard to guess. Existing sites get new log file names.
- The country list now has one source: SwpmMiscUtils::get_raw_countries_list() returns the unfiltered country code => country name map used by country-code conversion and the default dropdown list. The swpm_countries_list filter still customizes the dropdown without affecting PayPal or Stripe country-code conversion. Payment-created members now use the default dropdown names (for example, ‘United States of America’ instead of ‘United States’).
- Added 19 territories to the countries dropdown (for example, Puerto Rico, Guam and Bermuda) and fixed the spelling of Nepal. Removed ‘Swaziland’, which was listed twice along with ‘Eswatini’.
- Fixed an issue where each save of a membership level added duplicate rows for its settings in the membership level meta table. Saving a level now keeps one row per setting and removes any older copies for that level.
- Thanks to Th0masL for contributing the subscription trial info, refund and PayPal subscription changes in this release.
4.8.7
- Stripe subscriptions: the first payment of a new subscription is now also saved as its own payment record (with the charge ID), in addition to the “subscription created” record. Every subscription charge now has a payment record, and a refund of the first payment can find its record. For a refund of this first payment, the swpm_payment_refunded action data also includes the checkout’s transaction ID (checkout_txn_id).
- Partial refunds are now shown as ‘Partially Refunded’ in the payments list (Stripe, PayPal PPCP and PayPal Standard). PayPal Standard refunds now also update the transaction’s status.
- Added the swpm_payment_refunded action hook. It fires when a payment is fully or partially refunded (Stripe, PayPal PPCP and PayPal Standard).
- Added refund details (full or partial, amounts) to the data passed to the swpm_deactivate_account_on_refund filter.
- Added the swpm_transactions_page_columns and swpm_transactions_page_column_{column_name} filter hooks to add columns to the payments list.
- Added the SwpmMiscUtils::get_countries_list() function so addons can reuse the plugin’s country list instead of keeping their own copy. The get_countries_dropdown() function now builds its output from it. Added the swpm_countries_list filter hook.
- The trial info of a new subscription (trial or not, and the trial amount) is now saved on its subscription agreement record (Stripe and PayPal Standard subscriptions).
- Stripe Checkout buttons now redirect to the checkout page using the Checkout Session URL, for compatibility with newer Stripe.js versions (Clover) loaded by other plugins or themes.
- Security improvement for the Stripe checkout: the completed checkout session is now retrieved using its ID, and the payment is only applied to the logged-in account (or redirected to the paid registration link) in the browser that started the checkout. For a new member from a Stripe checkout, the thank you page now only shows the paid registration link in the browser that made the payment (the link is also sent by email). Thanks to terminalstate for reporting this.
- Fixed an issue where a PayPal subscription renewal payment could be saved with the wrong amount (for example, when the webhook arrived late). The amount from the webhook event is now saved.
- Fixed an issue where the Force WP User Synchronization feature could log a user out during a two-factor authentication (2FA) login on the WordPress login page (for example, with Wordfence 2FA).
- Fixed an issue where a subscription renewal payment could change the member’s reference to the original subscription checkout transaction record. It now only changes when the member makes a new subscription checkout.
- Thanks to Th0masL for contributing the PayPal, refund and payments list changes in this release.
4.8.6
- Fixed a login loop that could happen when the login form was submitted shortly after the member’s login session expired. The login request is now processed normally and a fresh login session is created. Thanks to freetiermorioka555 for reporting this.
- The logout request now clears any leftover (expired) login cookies from the browser, even when the login session is no longer valid.
- Fixed a grammatical error in the German translation of the password reset message. Thanks to Annika for reporting this.
- Fixed an issue where the Force WP User Synchronization feature could log a member out right after a successful login.
- Stripe Buy Now: the payment currency, billing country code, payment method type, card country and Stripe fee are now included in the payment data passed to the swpm_payment_ipn_processed hook. Thanks to Th0masL for the contribution.
- Fixed an issue where PayPal PPCP subscription renewal payments could be saved with an empty member ID. The member is now found using the subscription ID.
- Fixed an issue where a PayPal subscription payment (PAYMENT.SALE.COMPLETED webhook) could be lost when a PayPal API call failed. The webhook now responds with an error so PayPal sends it again. Also added a 30 second timeout to the PayPal API requests.
- Added handling for the PayPal BILLING.SUBSCRIPTION.PAYMENT.FAILED webhook event. It logs the failed payment and triggers the new swpm_paypal_subscription_payment_failed action hook.
- Fixed some registration form and payment button filter hooks that were not printing the value returned by the callback. Thanks to Th0masL for the contribution.
- Improved PayPal and Stripe refund handling and synchronization of payment and subscription statuses.
- Added two options in the Payment Settings menu to keep the member account active when a one-time or subscription payment is refunded (by default, the account is deactivated). Also added the swpm_deactivate_account_on_refund filter hook.
- Added 3 new filter hooks: swpm_validate_user_name_ajax_override, swpm_registration_form_validation_query_args and swpm_login_widget_logged_in_username. Thanks to Th0masL for the contribution.
4.8.5
- The attachment URL and metadata filters no longer run before the init hook. This prevents the “_load_textdomain_just_in_time” notice with themes (e.g. Cocoon) that request attachments early.
- Added output escaping to the country field in the profile form.
4.8.4
- Added two new filter hooks (swpm_show_expiry_date_value and swpm_show_expiry_date_output) to the [swpm_show_expiry_date] shortcode to allow customization of the displayed expiry date and the shortcode output.
- Security fix: Registration and activation emails now use the member’s saved email address, preventing requests from redirecting these emails to another address.
- Security improvement: Email activation uses securely generated tokens with 24-hour expiry validation and protection against reuse and concurrent requests. Resends preserve existing unexpired links and have configurable limits for public requests.
- Registration and activation emails no longer include passwords. Existing password placeholders display password reset guidance, and previously saved activation passwords are removed automatically in batches while preserving valid links and add-on metadata.
- Registration now preserves account creation and completion hooks when an email cannot be prepared, and displays recovery instructions instead of prompting members to register again.
- Invalid or expired activation links now include an option to resend the activation email.
4.8.3
- Added an option to send email notifications to members and the admin after automatic subscription renewal payments.
- Added check to validate payment button IDs in payment notification handlers.
- Applied a fix for the “Auto Prune Login Events” feature in the reports menu.
- Fixed a Stripe SCA payment button issue where an unencoded reference ID in the checkout success URL could cause a “Payment button (ID: 0) does not exist” error after a completed payment. Thanks to Filip for reporting this.
- Fixed an issue where Stripe subscription renewal payments in zero-decimal currencies (JPY, KRW, VND, MGA) were recorded incorrectly.
- Fixed an issue with the “Annual – Fixed Date” membership level where a member’s expiration date was calculated from the current calendar year instead of the member’s subscription start year, causing the expiration to shift by a year once the calendar rolled over. Thanks to mcl_10 for reporting this.
- Security improvement: Payment buttons and payment handlers now reject invalid or unpublished payment button records.
- Security improvement: Strengthened paid registration completion to reject invalid or reused links and preserve the purchased membership level.
- Security improvement: Automatic login after registration no longer includes passwords in redirect URLs.
4.8.2
- The Recent Login Events table now displays events recorded from 12:00 AM on the selected start date through 11:59 PM on the selected end date.
- Removed the WP user binding option from front-end registration. Users can use the new swpm_allow_existing_wp_user_registration filter hook to allow registration using an existing WordPress user account.
4.8.1
- Updated the Stripe SDK to v21.2.1 and the Stripe API version to 2026-07-29.dahlia.
- Updated the login count charts on the Reports menu counting failed login attempt records, which caused past dates to be listed with a count of zero.
- Updated the date range condition in the login count queries so the one month window is applied correctly.
- The Recent Login Events section in the Reports menu now displays login events from the last 30 days by default.
- Fixed a false “Failed login limit could not be reset” entry appearing in the debug log after a successful login when no failed login attempts existed for that IP address.
- WordPress Multisite install related vulnerability issue fixed.
- New member registrations are no longer linked to a pre-existing WordPress user account matching the submitted username or email address by default. Site administrators can restore the previous behavior using the new Allow Existing WP User Registration option under Advanced Settings.
- Password reset via a secure link is now enabled by default on new installations. Site administrators can disable it using the new Disable Password Reset Using Link option under Settings.
4.8.0
- Gutenberg block compatibility for WordPress v7.1.
4.7.9
- Added an option to enable a password visibility toggle on the ‘registration’ form. When enabled, users can show or hide the password as they type.
- Added an option to enable a password visibility toggle on the ‘edit profile’ form. When enabled, users can show or hide the password as they type.
- A PayPal trial subscription related security issue fixed. Thank you to Ananda Dhakal for reporting this.
4.7.8
- Added validation of the ‘subscr_ref’ parameter in the PayPal standard IPN handling code. Thank you to Charles Vosburgh for reporting this.
- Added sanitization to the PayPal payment notification handling code. Thanks to Yaswanth Reddy Sunkara for reporting this.
- Added error checking to the ‘create_wp_user’ function for better security. Thanks to Brandon Steed for reporting this.
4.7.7
- Removed the obsolete PayPal Smart Checkout related code to clean up the codebase.
- The PayPal Standard IPN data validation now also validates the merchant/receiver email. Thank you to Muni Nitish Kumar for reporting this.
- The deprecated/legacy PayPal hosted button code removed from the plugin to clean up the codebase.
- Fixed a minor PHP notice issue in the PayPal IPN handler code.
4.7.6
- Important Note: A Stripe webhook signing secret is now required to process Stripe subscription webhook events. This provides an additional layer of security.
- If you are using Stripe subscription payment buttons, please make sure to configure the webhook signing secret key in the plugin settings menu. Refer to this documentation for more information.
4.7.5
- Fixed an issue with the bulk account activation notification email.
- Stripe subscription webhook: fixed a security issue.
4.7.4
- Fixed a bug related to the annual expiry date settings.
- Login event timestamps are now recorded according to the WordPress site’s timezone settings.
- Added an admin notice that displays when a Stripe webhook is received from an outdated API version.
- Added a search option on the payments table to find payments made by a specific member.
4.7.3
- Added a new action hook ‘swpm_ipn_account_upgrade_event’ that is triggered when an account upgrade event is processed in the IPN handler.
- Added a new action hook ‘swpm_ipn_account_renewal_event’ that is triggered when an account renewal event is processed in the IPN handler.
- Added a link to the warning message about the Stripe webhook signing secret key so users can more easily locate the setting needed to fix the issue.
- Added debug logging for HTML email option in the mail() function.
- Added output escaping to the IP address field in the reports menu.
- Gutenberg API v3 compatibility for payment button block.
4.7.2
- Improved compatibility with bbPress. Updating a member’s WordPress role will no longer interfere with their existing forum roles.
- Stripe webhook signing secret key missing notice now shows on admin dashboard.
- Added a new filter hook ‘swpm_payment_button_shortcode_start_output’ to allow custom code to execute at the start of the payment button shortcode execution.
Follow this listing's changes (Atom feed)