Created
May 19, 2021 08:54
-
-
Save andrewlimaza/7f1ac8451bc9cef91cb404fab1488a11 to your computer and use it in GitHub Desktop.
Disable MMPU Custom Level Page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Disables the Multiselect page MMPU provides. | |
* Add this code to your site by following this guide - https://www.paidmembershipspro.com/create-a-plugin-for-pmpro-customizations/ | |
*/ | |
add_filter( 'pmprommpu_disable_levels_multiselect_page', '__return_true' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment