Created
November 11, 2019 19:12
-
-
Save kimcoleman/037f79c9049e5294c81462195e14e290 to your computer and use it in GitHub Desktop.
Hide the "Membership Required:" and level names from the [download] shortcode output when using Download Monitor and the Download Monitor Integration for Paid Memberships Pro Add On.
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 | |
/** | |
* Hide the "Membership Required:" and level names from the [download] shortcode output | |
* when using Download Monitor and the Download Monitor Integration for Paid Memberships Pro Add On. | |
* | |
*/ | |
add_filter( 'pmprodlm_shortcode_download_show_membership_required_filter', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment