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
      • Popular
      • Free
      • Premium
      • 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

Posts About pmpro_getMembershipLevelForUser

Featured image for code recipe on award MyCRED points

Award MyCRED Points for Membership

Banner Image for Bulk Update User Roles to a Custom Role Based on Membership Level

How to Bulk Update User Roles to a Custom Role for Their Membership Level

Filtered course list for member's available courses

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

Banner for Advanced Code Recipe Tutorial for Paid Memberships Pro

Ninja Forms: Add Hidden Field for Membership Level

Banner Image Add a Customized Notification Banner to Alert Your Members of Upcoming Expiration

Add a Customized Notification Banner to Alert Your Members of Upcoming Expiration

Banner image for Insert a “Renew Membership” Button via Custom Shortcode to Display a Link/Button for Members

Insert a “Renew Membership” Button via Custom Shortcode to Display a Renewal Link/Button for Members

Banner image for Show a Member's Level Name in Post Comments

Show a Member’s Level Name in Post Comments

Banner image for Redirect New Members to a Specific Page the First Time they Log In

Redirect New Members to a Specific Page the First Time they Log In

Banner for Advanced Code Recipe Tutorial for Paid Memberships Pro

Methods to Display a Member’s Expiration Date In Posts, Pages, and Widgets

Banner for Advanced Code Recipe Tutorial for Paid Memberships Pro

Disable Paid Memberships Pro Emails to the Member/User or Admin

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 »

GPLv2

Recent Articles and Updates

  • Memberlite 7.1: Block-Based Header & Footer Variations

    Memberlite 7.1: Block-Based Header & Footer Variations

  • How a 140-Year-Old Beekeepers’ Association Brought Its Membership Into the Modern Age with Paid Memberships Pro

    How a 140-Year-Old Beekeepers’ Association Brought Its Membership Into the Modern Age with Paid Memberships Pro

  • How to Set Up Immediate Cancellations in Paid Memberships Pro

    How to Set Up Immediate Cancellations in Paid Memberships Pro

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
  • Premium
  • Popular
  • 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

  • Paid Memberships Pro on YouTube
  • @pmproplugin at X (Twitter)
  • Paid Memberships Pro on Facebook
  • Paid Memberships Pro on Instagram
  • Paid Memberships Pro on LinkedIn

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