I am using the following code to enable shortcode in Page Titles.
add_filter( 'the_title', 'do_shortcode' ); I don't have to use it often but when I do it works well for swapping content in both the titles on the page and the menus. The problem is that the shortcode displays in the title on my browser tab-see screenshot attached. Is there a way to modify the filter to also enable the shortcode in browser tabs, or, create another filter to enable shortcode in the tabs, or if not, possibly manually modify the few individual pages that need the shortcode in the title? I'm having trouble finding a solution online and was hoping someone might have some ideas to tear me in the right direction. Thank you!