WordPress Shortcode In Widget Title

Some time we need to insert a shortcode in widget title. This code below can help you: