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

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
      • 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
Home  >  Blog  >  Add a ‘Membership’ Tab to the WooCommerce My Account Page

Add a ‘Membership’ Tab to the WooCommerce My Account Page

Estimated reading time: 4 minutes

TweetFacebookLinkedIn

If your Paid Memberships Pro site also uses WooCommerce to sell memberships, you might want to show members their PMPro account details inside Woo’s “My Account” page, instead of sending them to a separate page.

This recipe shows you how to do just that: add a custom tab to Woo’s account area using built-in WooCommerce endpoints.

It’s a simple way to create a more seamless, centralized experience for your members. Read on to learn how it works and get the code recipe for your membership site.

Featured image for code recipe to add Membership tab to Woo

Table of contents

  • Understanding WooCommerce Endpoints
  • About This Code Recipe
  • The Code Recipe
  • How to Customize This Code Recipe

Understanding WooCommerce Endpoints

In WooCommerce, endpoints are special URL “triggers” that let you display custom content inside the My Account page.

Technically speaking, an endpoint is a URL segment that comes after the main account URL. For example:

yourdomain.com/my-account/my-membership/

When WooCommerce detects that /my-membership/ has been added to the URL, it loads your custom content in place of the standard account dashboard, all technically within the same WordPress page.

This is how WooCommerce powers built-in sections like Orders, Downloads, or Addresses. And it’s exactly how you’ll embed your Membership Account info into the WooCommerce My Account dashboard.

Note: WooCommerce is not required, and in many cases, not the ideal way to sell your PMPro memberships. This recipe is only useful to sites that use WooCommerce to sell membership and want to consolidate their PMPro Account page into their WooCommerce My Account page.

About This Code Recipe

This code registers a new “My Membership” endpoint within WooCommerce’s “My Account” section. This new menu item will open your PMPro account content on the Woo My Account page.

Screenshot of Membership tab in WooCommerce My Account page

The Code Recipe

Adding the Recipe to Your Website

You can add this recipe to your site by creating a custom plugin or using the Code Snippets plugin available for free in the WordPress repository. Read this companion article for step-by-step directions on either method.

How to Customize This Code Recipe

By default, the code in this recipe shows only the “membership” section from the PMPro account shortcode.

  • Modify the pmpro_account shortcode attributes on line 26 to control which sections appear. See additional attributes of the Membership Account page shortcode here.
  • Change the tab label by updating ‘My Membership’ on line 31 to your preferred wording.
Kim White

Author: Kim White

Kim White is a Technical Support Engineer here at PMPro. She has a great intuition for unraveling information and coming up with a solution. She’s been building and maintaining websites for over 25 years and enjoys helping people make the most of their WordPress membership sites. Kim also organizes her local WordPress WordCamp and Meetup.

View more articles by Kim White »

Free Course: Membership Site Development—The Basics

Develop a deeper understanding of membership site development in this beginner-level course. Learn how to make your site work better, save yourself time and money, and improve your site's performance.

Take Free Course Now
Featured Image for Membership Site Development Course: The Basics


Was this article helpful?
YesNo
Tagged: pmpro_account. Posted in Code Recipes, Premium Code Recipes. Bookmark the permalink. Last updated: May 28, 2025.
Post navigation
← Override the Limit Post Views Add On Logic to Restrict Access to Certain 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

  • Featured image for code recipe to add Membership tab to Woo
    Add a ‘Membership’ Tab to the WooCommerce My Account Page
  • Featured image for Override LPV Code Recipe
    Override the Limit Post Views Add On Logic to Restrict Access to Certain Posts
  • EU VAT Tax Rates Reduced July 1, 2020
    Apply the Reduced EU Tax Rates for Your Membership Site

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 Us On

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