The BuddyPress Add On for Paid Memberships Pro allows you to assign BuddyPress “Member Types” by Membership Level. The code recipe below demonstrates how to create a “member type” in BuddyPress.

Banner Image for Apply BuddyPress Member Tyle Code Recipe

Configure Member Types: The Code Recipe

You can add additional member types in the my_pmpro_bbg_register_member_types() function, then repeat lines 29-33 to define additional level to member type relationships.

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.

Assigning a Member Type by Membership Level

Follow the steps below to assign a Member Type (you must first install and configure the BuddyPress Add On for Paid Memberships Pro).

  1. Navigate to Memberships > Membership Levels.
  2. Select a level to edit or create a new level.
  3. Under “BuddyPress Member Types”, select the member types you would like to assign for members of this level.
Assign BuddyPress Member Types by Membership Level with Paid Memberships Pro WordPress Plugin
  1. Save Settings

Change “Member Type” on Edit User Screen

Now that your member types are defined, you can select from your different options on the Edit User screen.

  1. Navigate to the Members List or All Users screen in the WordPress admin.
  2. Locate the user to edit.
  3. From the Edit User screen, click the Extended Profile tab.
  4. In the Member Type metabox, choose a member type for this user.
  5. Click Update Profile to save settings.
BuddyPress Member Type Setting on Edit User

Learn More About PMPro’s Community Features

Are you ready to build and grow an online community that you completely control?

With Paid Memberships Pro, you can sell free and paid subscriptions to your community, benefit from a wide variety of Add Ons and integrations specifically designed for community websites.

We know that a WordPress site has tons of moving parts. Choosing the right plugins, themes, hosting, third party services, design assets, and more can feel overwhelming.

Paid Memberships Pro is the most robust membership plugin to sell access to your online community on WordPress. Learn exactly what you’ll get — the plugins, the support, and the training — when you run your online community with Paid Memberships Pro.

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?