force change language
-
Hi,
Is it possible to force language changing?
Maybe smth like this?
global $polylang; $polylang->choose_lang->set_language( $curlang );
But this doesn’t work because this method is protected.
I just want to create my own switcher for some reason.
Thanks!
- The topic ‘force change language’ is closed to new replies.