• 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
Home  >  Blog  >  Generate a Unique Member Number for Display on Membership Account, Confirmation Email and More

Generate a Unique Member Number for Display on Membership Account, Confirmation Email and More

Estimated reading time: 2 minutes

TweetFacebookLinkedIn
Banner Image for Code Recipe Generate a Unique Member Number for Display on Membership Account, Confirmation Email and More

Give your members a unique membership number that is separate from their “User ID” (the auto-incremented ID for each user of your site). This is useful for associations, clubs, fitness sites and more.

The code recipe generates a unique 10-digit membership ID at registration. The identifier will be displayed on the Account and Invoice pages, as well as within the Confirmation email. You may also want to use this unique ID in a custom Membership Card template using our Membership Card Add On or in the directory when using our Member Directory and Profile Pages Add On. The generated ID is stored in user meta with the key member_number.

This content requires a premium membership plan.

View PricingLog In
Jarryd Long

Author: Jarryd Long

Jarryd is a Technical Support Engineer at PMPro. He prides himself on offering the best support to our customers and has been a part of the WordPress space since his high school days. He's developed a variety of plugins as well as spoken on the topic of providing outstanding support to customers.

Tagged: pmpro_account_bullets_bottom, pmpro_email_filter, pmpro_invoice_bullets_bottom. Posted in Code Recipes, Premium Code Recipes. Bookmark the permalink. Last updated: February 10, 2016.

Post navigation

← Testing Your Membership Checkout Process in Development or Sandbox Mode with Integrated Payment Gateways
Give Members “Free Shipping” at Shop Checkout WooCommerce →

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

  • Banner for What is best for your membership site? Free trial Vs Paid trial
    Free Trial vs. Paid Trial: Which is Best for Your Membership Site
  • Banner Photo of Using PMPro as a WordPress user Profile Plugin
    Can You Use Paid Memberships Pro as a WordPress User Profile Plugin?
  • Banner Image for Dont apply discount if woo products are on sale
    Don’t Apply Member Discount if Woo Products are on Sale

Platform

  • Pricing
  • Features
  • Reviews
  • 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
  • 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

© 2023 Paid Memberships Pro. All Rights Reserved.