Last active
December 27, 2015 16:09
-
-
Save nutsandbolts/7352780 to your computer and use it in GitHub Desktop.
Enables you to use shortcodes in WordPress widgets
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
//* Enable shortcodes in widgets | |
add_filter('widget_text', 'do_shortcode'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment