When a locked member tries to cancel or change their membership, the Add On redirects them to a Membership Locked page that explains why. Set up this page first, before you lock any levels or members.

Assign the Membership Locked Page

  1. Navigate to Memberships > Settings > Pages in the WordPress admin.
  2. Scroll to the Additional Page Settings section.
  3. Next to Membership Locked, click Generate Page to create a new page with the [pmpro_membership_locked] shortcode already in place. Or, choose an existing page from the dropdown.
  4. Click Save Settings.
Membership Locked page assigned in the Additional Page Settings section of Memberships > Settings > Pages

The page should include the [pmpro_membership_locked] shortcode. The shortcode shows a message telling the member which membership is locked. You can add your own content above or below it, such as how to contact you if they need help with their account.

Shortcode Attributes

The [pmpro_membership_locked] shortcode accepts two optional attributes.

AttributeAccepted ValuesDefaultDescription
messageAny textBlank (uses the default message)Replaces the default message. The text is shown as plain text, so HTML tags are not rendered.
account_link1 or 01Shows a “Return to Your Account” link below the message when the member holds a membership level. Set to 0 to hide the link.

For example, to show your own message and hide the account link:

[pmpro_membership_locked message="An administrator has locked changes to your membership account." account_link="0"]

Default Messages

If you leave out the message attribute, the shortcode picks a message based on what the member tried to do:

  • Specific Level Locked: “Your [Level Name] membership level is locked. You are not allowed to change that membership level.”
  • All Levels Locked: “Your membership levels are locked. You are not allowed to change your membership levels.”
Membership Locked page showing the default message for a locked Monthly Bake Club membership and a Return to Your Account link

If You Don’t Assign a Page

Locks still work without a Membership Locked page. Locked members are sent to the Membership Account page instead, with the locked message shown at the top. If you don’t have a Membership Account page either, they’re sent to your site’s home page with no message.

Note: The Membership Locked page is meant to be reached through a redirect. If a logged-in member opens it directly and doesn’t have a lock on all levels, the Add On redirects them to the Membership Account page (or the home page if there isn’t one). Keep this page out of your site menus.

Last updated on November 12, 2026


Was this article helpful?
YesNo