WP Manifestindependent plugin directory
manifest / ecommerce / pmpro-snippet-mgr

Paid Memberships Pro - Snippet Manager

Addon for Paid Memberships Pro that compiles a number of useful custom code snippets in a user-friendly settings page.

★ 1stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/indigetal/pmpro-snippet-mgr/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Description

This addon compiles a number of useful custom code snippets for Paid Memberships Pro in a user-friendly interface making it easier for administrators to apply these customizations.

Installation

  1. Upload the pmpro-snippet-mgr folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.

Settings

Navigate to Memberships > Snippet Manager to configure the following options:

  1. Disable PMPro redirect to levels page: Checkbox to disable the default PMPro behavior that redirects to the levels page during user registration.
  2. Default Membership Level: Number input to specify the default membership level ID to newly registered users.
  3. Set Posts to Draft on Membership Cancel: Checkbox to enable/disable setting member author’s posts to draft when their membership is cancelled.
  4. Custom Redirects: Dynamic form allowing the addition of multiple redirect rules with fields for the required level IDs, the restricted URLs, and the redirect URL.