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.

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.
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.

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.