Created
October 16, 2016 17:41
-
-
Save mahdiyazdani/d0ce7651bc29da4c85426747b2c59a0f to your computer and use it in GitHub Desktop.
Adding Shortcodes to 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
<?php | |
add_filter( 'widget_text', 'do_shortcode' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment