Replace displayed languages' names in switcher
-
Hi,
I’d like to replace the displayed languages’ names in the switcher with abbreviations (e.g. ENG for English, etc.). I use the shortcode. How can I do this without touching the plugins’ files? I thought of str_replace in my theme’s functions.php, but I don’t know what bogo function to call to make it work. The site’s still local, so I cannot provide a link.
My code:function adapt_bogo($lan) { $lan = str_replace('English','ENG', $lan); return $lan; } add_filter ('???', 'adapt_bogo');
Thanks for any help!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Replace displayed languages' names in switcher’ is closed to new replies.