Skip to content
MemBuild
Memberships and paymentsAll docs

Open courses from a WordPress role

If another plugin already sells your memberships, let it give access for you. Link the WordPress role it gives buyers to a membership, and the community opens the right courses.

Checked on with version 1.19.0

How it works

Many shop, membership and CRM plugins give a buyer a WordPress role when they pay, and take it away when the membership ends. The Memberships screen names WP Fusion and FluentCRM as examples.

In MemBuild Community, a membership decides who can open a locked course. People get one in two ways: you add them, or a role puts them in. Nothing else needs connecting.

Pick the membership on a course

Open the course in the course builder and go to its settings. Under Who can open it, choose Only some members, then + Add a membership. Under What do the others see?, choose the course with a lock, or nothing at all.

Course settings: Only some members picked, VIP Members under Which memberships open it, and What do the others see? set to The course, with a lock
A course opened by the VIP Members membership.

People without the membership see the lock, and Ask an admin for access unless the membership has a button. To send them to your shop, go back to the membership, press Add a Get access button and paste your checkout link. Admins and moderators can always open every course.

Questions

What happens when the role is taken away?

Access goes with it. The community checks the role each time, so when your membership plugin removes the role, the courses lock again. The member’s progress is kept, in case they come back.

Which roles can I pick?

Every role on your WordPress site, including ones your other plugins add. The list under Add a role shows them all.

Can I give one person access without a role?

Yes. Under People you added, press Add or remove people and search for them. On a member’s profile, Manage membership does the same, and says when someone is in through a role.

I’m a developer. Can my own code decide who is in?

Yes. The membuild_community/in_access_group filter lets your code say whether a member is in a membership, for example from your own membership records.

Next in Memberships and paymentsBilling and receipts for members

Stuck, or something not right? See Troubleshooting, or email us and we’ll help.