Membership system
Membership tiers
Section titled “Membership tiers”| Tier | Slug | Access |
|---|---|---|
| Free | free | Public content + free resources |
| Pro | pro | All free content + premium articles, downloads |
| Business | business | All Pro content + API access, team seats |
Tiers are defined in MemberPress under Memberships. Do not rename slugs — they are referenced in code.
Content gating
Section titled “Content gating”Access rules are managed in MemberPress under Rules. The general approach:
- Free content: no rule (publicly accessible)
- Gated content: rule set to require
proorbusinessmembership - Partial gating (teaser + paywall): handled by the
ws2-paywallcustom plugin
Avoid gating entire categories — gate at the post level or use a dedicated gated category to keep rules manageable.
Integrations
Section titled “Integrations”Mailchimp — membership status changes (new, upgraded, cancelled) trigger Mailchimp tag updates via the MemberPress Mailchimp add-on. Tag naming convention: mp-{tier-slug} (e.g. mp-pro).
Stripe — subscription billing is handled by the MemberPress Stripe gateway. Recurring payments, dunning, and cancellations are managed there — do not intervene directly in Stripe.
Debugging access issues
Section titled “Debugging access issues”If a member reports they can’t access content they should have:
# Check their active memberships
# Force a capability refreshwp eval 'MeprUser::refresh_capabilities();'