• Log In
  • Welcome
  • Features
  • Pricing
  • Documentation
  • Add Ons
  • Payment Gateways
  • Support
  • Customer Showcase
  • Blog
  • Contact

Log In


Join Now | Lost Password?

Skip to content

Paid Memberships Pro

WordPress Membership Plugin

  • Log In
  • Choose a Plan
  • Features
    • Product Overview
    • Screenshots
    • About Us
  • Pricing
  • Documentation
  • Showcase
  • Add Ons
  • Gateways
  • Support
  • Blog

Code Recipes

Paid Memberships Pro is highly versatile. To enhance the functionality of our core plugin and Add Ons, our team has created an extensive collection of code recipes that is always growing. Purchase a premium plan and get immediate access to all of them.

Store User Profile Fields in a Custom User Taxonomy

Store User Profile Fields in a Custom User Taxonomy

Set a Level to Expire Based on Remaining Time in Term

Set a Level to Expire Based on Remaining Time in Term

Hide Discount Code field if there are no discount code fields created for that level

Hide Discount Code Field if There are No Discount Code Fields Created for that Level

Add Custom Registration Fields to Admin Checkout Notification Email

Add Custom Registration Fields to Admin Checkout Notification Email

Banner for Advanced Code Recipe Tutorial for Paid Memberships Pro

Generate a Discount Code for Expired Members

Add Custom HTML to the PMPro Login Form

Add Custom HTML to the PMPro Login Form

Banner for Advanced Code Recipe Tutorial for Paid Memberships Pro

Restrict Partial User Emails on Checkout

Sorting the Directory Results by a User Meta Key

Order PMPro Member Directory by Custom User Meta Field

Limit User Pages Add On to User Page Only

Limit User Pages Add On to User Page Only

Banner for Advanced Code Recipe Tutorial for Paid Memberships Pro

Add Membership Level Name to Expired Email Template

Code Recipe for Changing the Merchant ID for Braintree

Change the Merchant Account ID for Braintree Transactions

Banner Image for Unsubscribe Members From Mailchimp Upon WordPress Account Deletion

Unsubscribe Members from MailChimp upon WordPress Account Deletion

Banner Image for Styling Your Membership Map using Google Maps Code Recipe

Style Your Membership Map using Google Maps JSON Styling

Banner Image for Add a Refund Reason Order Meta Fields for Admins Code Recipe

Add a “Refund Reason” Order Meta Field for Admins

Banner Image for Add a Description Field to Discount Code for Admins Code Recipe

Add a Description Field to Discount Code for Admins

Posts navigation

← Older posts

Build a membership site—for free.

The fastest way to charge for access to your WordPress site. Our core plugin is free and includes more than other membership plugins. You deserve more.

Start for Free
Choose a Plan

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

  • Store User Profile Fields in a Custom User Taxonomy
    Store User Profile Fields in a Custom User Taxonomy
  • Development Changelog Add On Updates July 2022
    Add On Updates for July 2022
  • How to Start a Membership Website that Stands Out

Platform

  • Pricing
  • Features
  • Reviews
  • Screenshots
  • Videos
  • Compatibility

Add Ons

  • Free
  • Standard
  • Plus
  • User
  • Integration
  • View All

Get Help

  • Support
  • Download & Install
  • Hosting
  • Developers
  • Blog
  • Contact Us

Company

  • About Us
  • Work With Us
  • Brand Assets
  • Affiliates
  • Privacy Policy
  • Terms of Service
Follow Us On

© 2022 Paid Memberships Pro. All Rights Reserved.