Redirect dependant on current language
-
Hello,
My theme creates an icon with a link to the ‘My Account” page, however this link can’t be translated via the string translations. So what Í think I need is a snippet for the functions.php which will send anyone clicking on “My Account” to the My Account page in the current language rather than to the language in the hard coded link. Hope I make sense!
I think I can use the pll_get_post filter somehow, but PHP is alien to me 🙂
I’d be very grateful if anyone can help!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Redirect dependant on current language’ is closed to new replies.