Paid Memberships Pro has dedicated settings for almost any type of level you can imagine. However, this amount of flexibility can be overwhelming for users who just want a free introductory level or standard recurring level.

In Paid Memberships Pro, we make it simple to create a new membership level with templates. The Add New Level popup allows you to set up a new membership level with limited clicks. 

This code recipe helps simplify the Add New level popup.

Banner Image for Code Recipe to Remove One or More Level Template from Popup

How it Works

Even though you may have chosen a template to set up your level, you can still access individual settings if you later decide to change your one-time payment level to recurring.

Membership Level Template PopUp as set up in Native PMPro

This recipe allows you to do one of two things: 

  1. Remove one or more level templates from the popup when creating a new membership level 
  2. Remove all of the level templates
Membership Level Template PopUp with Trial Membership Removed using Code Recipe

The Code Recipe (PHP) 

Video: Coding with Sam Walkthrough

To jump ahead to removing the level template, start the video at 15:40.

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.

In the recipe, decide whether you want to hide a few individual templates or remove the // in front of the code (uncomment the code) on line 27 to unset all prebuilt templates.

The default ‘prebuilt’ templates in Paid Memberships Pro are:

  • free
  • monthly
  • annual
  • onetime
  • lifetime
  • trial
  • none
  • approvals
  • gift

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.

Featured Image for Membership Site Development Course: The Basics
Was this article helpful?
YesNo