Skip to content

Paid Memberships Pro

WordPress Membership Plugin
  • Log In
  • Choose a Plan
  • Features
    • PMPro Platform
      • Plugin Features
      • Restrict Access
      • Register Members
      • Subscriptions
      • Hosting
      • All Features
    • Payment Gateways
      • Stripe
      • PayPal
      • Paystack
      • CCBill
      • Manual Payment
      • All Gateways
    • Add Ons
      • Integrations
      • Free Add Ons
      • Standard Add Ons
      • Plus Add Ons
      • All Add Ons

    Launch a Free Demo
    Explore PMPro in action with your own private demo site—preloaded with members, protected content, and premium Add Ons.

    Try PMPro Now
  • Use Cases
    • Associations
    • Blog and News
    • Communities
    • Courses
    • Directories
    • Paid Newsletters
    • Private Videos
    • Podcasting
  • Documentation
    • Download & Install
      • Download PMPro
      • Install Add Ons
      • Memberlite Theme
      • Setup WordPress
      • Staging Sites
      • Support
    • Initial Setup
      • Customize Pages
      • Payment Settings
      • Restrict Content
      • Membership Levels
      • Member Emails
      • User Fields
    • More Docs
      • Shortcodes & Blocks
      • Design Settings
      • Page Builders
      • Reporting
      • For Developers
      • Actions & Filters
      • All Docs

    Get your membership site up and running with Kim's help.

    Watch Initial Setup
  • Community
    • Engage & Learn
      • Upcoming Events
      • Courses
      • Videos
      • Step-by-Step Guides
      • Join Slack
      • Get Support
    • Blog
      • Case Studies
      • Product Comparison
      • Code Recipes
      • Release Notes
      • Migration Guides
      • All Blog Posts

    Join the Community
    Connect with other membership site creators who use PMPro to get paid.

    Join Slack
  • Pricing
  • Log In
  • Welcome
  • Features
  • Pricing
  • Documentation
  • Case Studies
  • Add Ons
  • Support
  • Learn
  • Events
  • Blog
  • Contact

Code Recipes

We understand the importance of having a membership site that works just the way you want it to, which is why our team has developed this collection of code recipes. These recipes extend the functionality of both our core plugin and Add Ons. Purchase a premium plan and get immediate access to all of them.

How to Display the users avatar in the log in form widget

How to Show the User’s Avatar in the Log In Form Widget

Match IP and Billing Address to Prevent Card Fraud

Prevent Card Fraud by Matching IP Address to Billing Country

Filtered course list for member's available courses

Filter the LearnDash Course List to Only Show a Member’s Enrolled Courses

Allow members to access all restricted content

Unlock Membership Access to All Restricted Content Without Updating Posts

Banner Image for Custom Template Membership Directories

How to Load a Custom Template for your Member Directory and Profiles (for Theme Authors and Developers)

Banner image for Use Delays for One-Time Credit Card Required Trials.

Using Subscription Delays Add On for One-Time, Credit Card Required Trials

How to import user meta fields that are stored as an array

Import User Meta Fields that are Stored as an Array (select2/multi-select and checkbox)

Banner Image for Allow Expiring Members to Extend Their Membership on Renewal or Level Change

Allow Members to Purchase a Membership Extension

automatically approve previously approved members

Automatically Approve Previously Approved Members

Banner Image Interacting with Paid Memberships Pro Through APIs

Interacting with Paid Memberships Pro Through APIs

remove trial periods

Remove Trial Periods for Existing Members

Banner Image for Allow Users to Filter Results in Member Directory Post

Allow Users to Filter Results in your Member Directory

How to Add a Grace Period to your Membership Site

Add a Grace Period to a Membership Level with PMPro

Banner for Advanced Code Recipe Tutorial for Paid Memberships Pro

How to Display the Next Payment Date for Admins

Banner for Advanced Code Recipe Tutorial for Paid Memberships Pro

How to Load a Custom Template for Membership Pages or System-Generated Emails

Posts navigation
← Older posts
Newer posts →

Paid Memberships Pro is recommended by our customers and users

Plugin Reviews

4.3 out of 5

G2

4.8 out of 5

Capterra

5 out of 5

We’re 100% GPL

Our plugin's code is not obfuscated, runs on as many sites as you want and can be customized to fit your project's needs. We just ask that you follow the GPLv2 guidelines by applying the GPLv2 license to any altered or unaltered version of PMPro that you distribute. License Details »

GPL v2

Recent Articles and Updates

  • PMPro Code Recipe: Set a Unique Statement Descriptor for Stripe Payments
    Set a Custom Stripe Statement Descriptor for Membership Payments
  • Code recipe thumbnail showing a WordPress Users admin list with a highlighted custom Company column
    Add a Custom Column to the Members List and Users Admin Pages
  • Code recipe thumbnail showing the PMPro login page with a green confirmation badge indicating the user was logged out and redirected
    Redirect Members Upon Logout Based on Membership Level

Platform

  • Pricing
  • Features
  • Product Comparison
  • Reviews
  • Case Studies
  • Best Membership Plugins
  • WordPress vs SaaS
  • Step-by-Step Guides

Use Cases

  • Associations
  • Blog & News
  • Community
  • Courses
  • Member Directory
  • Paid Newsletter
  • Podcast
  • Videos

Add Ons

  • Free
  • Standard
  • Plus
  • Admin
  • Integration
  • Payment
  • Third Party
  • View All

Get Help

  • Support
  • Documentation
  • Download & Install
  • Hosting
  • Developers
  • Blog
  • Slack Community
  • Contact Us

Company

  • About Us
  • Events
  • Brand Assets
  • Affiliates
  • Accessibility Statement
  • Sitemap
  • Privacy Policy
  • Terms of Service
Join Our Community
Follow Us On

© 2026 Paid Memberships Pro®. Paid Memberships Pro is a registered trademark of Stranger Studios, LLC. All Rights Reserved.