Created
March 17, 2020 12:38
-
-
Save someguy9/d2671e1d483bf2b33dcb4ea98dbe8482 to your computer and use it in GitHub Desktop.
Enable shortcodes in text widgets (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
<?php | |
//Enable shortcodes in text 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