Add Shortcode Function to Widgets

With this snippet, you can use Shortcodes in your WordPress Widgets. Add it to your functions.php file.

Other relevant snippets: