Skip to content

Instantly share code, notes, and snippets.

@andrewlimaza
Created April 29, 2021 11:46
Show Gist options
  • Save andrewlimaza/27f2d340785a6754b186c5fe99440561 to your computer and use it in GitHub Desktop.
Save andrewlimaza/27f2d340785a6754b186c5fe99440561 to your computer and use it in GitHub Desktop.
Allow user's to hold multiple levels with MMPU and WooCommerce for Paid Memberships Pro.
<?php
/**
* This allows user's to have multiple levels when purchasing via WooCommerce.
* Add this code to your site by following this guide - https://www.paidmembershipspro.com/create-a-plugin-for-pmpro-customizations/
*/
add_filter( 'pmprowoo_mmpu_force_add_level', '__return_true' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment