Created
September 18, 2018 05:42
-
-
Save chrisdavidmiles/c889a73abfa35f4c41c516a396cf0cb8 to your computer and use it in GitHub Desktop.
A filter to enable shortcodes inside Category, Tag, and Taxonomy Descriptions in WordPress
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
add_filter( 'term_description', 'shortcode_unautop'); | |
add_filter( 'term_description', 'do_shortcode' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment