Redirect to the Membership Account Page after Email Confirmation

If you’re using the Email Confirmation Add On to validate member email addresses, this code recipe will set up a redirect to the Membership Account page when a member clicks the validation link….

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

Restrict Access by Membership Level for Custom Post Type (CPT) Categories

The code recipe below sets membership restriction on a Custom Post Type (CPT) category. When a non-member visits a CPT in a protected category (either a logged out visitor or a logged in user without membership access) they will be redirected to the membership levels page (or another page as defined in your custom function).

Redirect Away from Checkout if User Doesn’t Meet Membership Requirements

We’ve blogged previously about requiring a specific level to allow registration for another level. In that post, the registration check occurs after the user submits the checkout form. This new code gist immediately redirects away from the checkout page if the user’s current membership level is not ID = 1 or is unset. Again… why…

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

New Add On to Auto-Detect, Protect and Redirect Custom Post Types

The Custom Post Type Membership Access Add On adds the ‘Require Membership’ meta box to all CPTs selected and redirects non-members to the selected page.

View the Add On