Created
June 26, 2016 14:41
-
-
Save pro-beaver/4649e82a876cf736bf2b567973691430 to your computer and use it in GitHub Desktop.
Enable Beaver Builder template 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 Beaver template shortcodes in WordPress widgets | |
* | |
* @author Davinder Singh Kainth | |
* @link http://probeaver.com | |
* | |
*/ | |
add_filter('widget_text', 'do_shortcode'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment