add_filter( 'widget_text', 'do_shortcode' );Enjoy Code!!
Custom Shortcodes Is Not Working In Sidebar Widgets?
Hello Friends!! Hope you all are doing well :) If you have created your own new custom shortcode and it's not working in text sidebar widget then no need to worry. just add given below hooks filter in your theme function.php file OR in your plugin file where you are want to add new sortcode.