Programmatically set language?
-
Hi,
I´ve recently activated Polylang in my wordpress installation. All is working fine, however since I am integrating two different systems in my website, in some occasions I need to have the language set from an external variable.How can I achieve that?
I need this mostly when loading the widgets, because I need to show the list of recent post and so on accordingly to my external variable.I have been looking throught the Polylang code, but I´m not yet sure on how properly do that.
Thank you, kind regards.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Programmatically set language?’ is closed to new replies.