---
title: "[ms-membership-account]"
source: "https://docs.nexcess.com/software/learndash/memberdash/ms-membership-account/"
description: "The [ms-membership-account] shortcode displays a personalized My Account page for the currently logged-in user. This page can include: Current membership detail…"
vertical: "Software"
area: "MemberDash"
topics: ["Billing and Payments", "LearnDash Core", "MemberDash", "Membership Levels", "Shortcodes"]
date: "2024-03-13"
last_modified: "2026-07-02"
---

# [ms-membership-account]

The **\[ms-membership-account\]** shortcode displays a personalized My Account page for the currently logged-in user. This page can include:

- Current membership details
- Profile information
- Invoices
- Recent activity

![](https://docs.nexcess.com/wp-content/uploads/2026/06/image-57.png)**Important:** This shortcode does not display anything for visitors who are not logged in, but it will automatically display a login form instead.

## **Shortcode Attributes**

You can customize the \[ms-membership-account\] shortcode using the optional attributes listed below. Each attribute is **independent**, so you can include only the ones you need.  
Any attribute you leave out will use its **default value** automatically.

### **Membership Section**

| **Attribute** | **Description** | **Default** | **Example** |
|---|---|---|---|
| show\_membership (yes \| no) | Display or hide the membership section. | yes | \[ms-membership-account show\_membership=”no”\] |
| membership\_title | Custom title for the membership section. | Your Membership | \[ms-membership-account membership\_title=”My Plans”\] |
| show\_membership\_change (yes \| no) | Show a link to switch memberships. | yes | \[ms-membership-account show\_membership\_change=”no”\] |
| membership\_change\_label | Text for the change-membership link. | Change | \[ms-membership-account membership\_change\_label=”Switch Plan”\] |

### **Profile Section**

| **Attribute** | **Description** | **Default** | **Example** |
|---|---|---|---|
| show\_profile   (yes \| no) | Show or hide user profile details. | yes | \[ms-membership-account show\_profile=”no”\] |
| profile\_title | Heading for the profile section. | Personal details | \[ms-membership-account profile\_title=”Your Info”\] |
| show\_profile\_change (yes \| no) | Show a link to edit profile info. | yes | \[ms-membership-account show\_profile\_change=”no”\] |
| profile\_change\_label | Label for the edit profile link. | Edit | \[ms-membership-account profile\_change\_label=”Update Info”\] |

### **Invoices Section**

| **Attribute** | **Description** | **Default** | **Example** |
|---|---|---|---|
| show\_invoices   (yes \| no) | Display recent invoices. | yes | \[ms-membership-account show\_invoices=”no”\] |
| invoices\_title | Heading for the invoices section. | Invoices | \[ms-membership-account invoices\_title=”Billing History”\] |
| limit\_invoices (number) | Number of invoices to display. | 10 | \[ms-membership-account limit\_invoices=”5″\] |
| show\_all\_invoices (yes \| no) | Show link to full invoice history. | yes | \[ms-membership-account show\_all\_invoices=”no”\] |
| invoices\_details\_label | Text for the “View All” link. | View all | \[ms-membership-account invoices\_details\_label=”Full Invoice List”\] |

### **Activity Section**

| **Attribute** | **Description** | **Default** | **Example** |
|---|---|---|---|
| show\_activity   (yes \| no) | Show recent user activity. | yes | \[ms-membership-account show\_activity=”no”\] |
| activity\_title | Title for the activity section. | Activities | \[ms-membership-account activity\_title=”Recent Logins”\] |
| limit\_activities (number) | Number of activity entries to show. | 10 | \[ms-membership-account limit\_activities=”3″\] |
| show\_all\_activities (yes \| no) | Show link to full activity history. | yes | \[ms-membership-account show\_all\_activities=”no”\] |
| activity\_details\_label | Label for the activity log link. | View all | \[ms-membership-account activity\_details\_label=”Full Activity Log”\] |

## Full Example

```
[ms-membership-account show_profile_change="no" profile_title="Your Info" show_activity="yes" limit_activities="3" activity_title="Last 3 Activities" activity_details_label="Full Log"]
```
