Advertisement
fauzanjeg

Overrides Custom HTML widget rules in order to execute shortcodes

Feb 10th, 2021
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.11 KB | None | 0 0
  1. /* Overrides Custom HTML widget rules in order to execute shortcodes */
  2. add_filter( 'widget_text', 'do_shortcode' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement