Last active
January 3, 2021 22:02
-
-
Save ideadude/00f8278949a16c432887403e3e4adc98 to your computer and use it in GitHub Desktop.
Allow shortcodes in PMPro level descriptions.
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
/** | |
* Allow shortcodes in PMPro level descriptions. | |
* Add this code using a custom plugin or as a Code Snippet. | |
* https://www.paidmembershipspro.com/how-to-add-code-to-wordpress/ | |
*/ | |
add_filter( 'pmpro_level_description', 'do_shortcode' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment