Introductory Pricing: Save 50% on your first year of any plan. Use coupon code:

FIRSTYEAR50

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

Log In

// Password visibility toggle (wp_login_form instance). (function() { const toggleButton = document.querySelectorAll('#pmpro_btn-password-toggle-1')[0]; const toggleWrapper = toggleButton.closest('.pmpro_form_field-password-toggle'); const loginForm = toggleWrapper.previousElementSibling; const passwordParagraph = loginForm.querySelector('.login-password'); const passwordInput = loginForm.querySelector('#user_pass'); passwordParagraph.appendChild(toggleWrapper); toggleButton.classList.remove('hide-if-no-js'); toggleButton.addEventListener('click', togglePassword); function togglePassword() { const status = this.getAttribute('data-toggle'); const passwordInputs = document.querySelectorAll('#user_pass'); const icon = this.getElementsByClassName('pmpro_icon')[0]; const state = this.getElementsByClassName('pmpro_form_field-password-toggle-state')[0]; if (parseInt(status, 10) === 0) { this.setAttribute('data-toggle', 1); passwordInput.setAttribute( 'type', 'text' ); icon.innerHTML = ` `; state.textContent = 'Hide Password'; } else { this.setAttribute('data-toggle', 0); passwordInput.setAttribute( 'type', 'password' ); icon.innerHTML = ` `; state.textContent = 'Show Password'; } } })();
Join Now | Lost Password?
Skip to content
Paid Memberships Pro WordPress Membership Plugin
  • Log In
  • Choose a Plan
  • Features
    • PMPro Platform
      • Plugin Features
      • Restrict Access
      • Register Members
      • Subscriptions
      • All Features
    • Payment Gateways
      • Stripe
      • PayPal Express
      • Paystack
      • CCBill
      • 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

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.

Track Membership Signups and Stats on Mobile Device Banner Image

Track Membership Signups and Stats on a Mobile Device

Banner image for Enhance Your Membership Levels Page with Member Badges

Enhance Your Membership Levels Page with Member Badges

Banner for Advanced Code Recipe Tutorial for Paid Memberships Pro

Set a Member Author’s Posts to Draft When Membership is Cancelled

Banner for Advanced Code Recipe Tutorial for Paid Memberships Pro

Allow Authors to View Their Posts Regardless of Membership Level

Banner Image for Code Recipe Show a Post, Page or Category’s Required Membership Levels in the Dashboard “All” Views

Show a Post, Page or Category’s Required Membership Levels in the Dashboard “All” Views

Banner for Advanced Code Recipe Tutorial for Paid Memberships Pro

Lock or Unlock Posts Based on Age and Post Date

Always Show the Discount Code Field Code Recipe Banner Image

Always Show the Discount Code Field

Customize the Process for Member Cancellation Banner Image

Customizing the Member Cancellation Process

Allow Post Favoriting with Favorites Plugin Banner Image

Allow Members to Favorite Posts using the Favorites Plugin for WordPress

Banner for Advanced Code Recipe Tutorial for Paid Memberships Pro

Lock Your Entire eCommerce Shop for Members-Only

Banner for Advanced Code Recipe Tutorial for Paid Memberships Pro

Capture Default WP User Profile Fields at Membership Checkout

Banner image for Hide "Discount Code" field on Membership Checkout for Free or Specified Levels

Hide “Discount Code” field on Membership Checkout for Free or Specified Levels

Banner for Advanced Code Recipe Tutorial for Paid Memberships Pro

Database Script: Apply a Membership Level to All Users Without a Level

Banner Image for Run a “Sale” on Your Membership Site and Show the Regular Price with Strikethrough Style Code Recipe

Run a “Sale” on Your Membership Site and Show the Regular Price with Strikethrough Style

Add Links to the "Links" Section on the Membership Account Page Code Recipe Banner Image

Add Links by Membership Level to the Membership Account Page “links” Section

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

  • Redirect Members to Pages Based on Their Level Banner Image
    Login Redirection: Redirect Members to Pages Based on Their Level
  • Featured image for Open Up Wide Case Study
    A Spiritual Teacher Transforms Lives with “Kimspirational” Guidance and Paid Memberships Pro
  • Use CSS to Customize the Checkout Page Per Level
    Customize PMPro Checkout Page Styles by Membership Level with CSS

Platform

  • Pricing
  • Features
  • Product Comparison
  • Reviews
  • Case Studies
  • Screenshots
  • Videos
  • Step-by-Step Guides

Use Cases

  • Associations
  • Blog & News
  • Community
  • Courses
  • Directory & Listing
  • 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

© 2025 Paid Memberships Pro™. Paid Memberships Pro is a trademark of Stranger Studios, LLC. All Rights Reserved.