I sent a question to support “how to set up plugin to be viewing which language is currently choosed?”
The answer which i get is
“You can use this piece of code to get current language
if ( class_exists('WPGlobus') ) {
$current_language = WPGlobus::Config()->language;
}
I can not find answer in this topic “where i have to paste it?” . i was trying to paste this everywhere, beginning of body section etc. even to plugin’s files, but there is too many of them.
-
This reply was modified 8 years, 1 month ago by penerka.
-
This reply was modified 8 years, 1 month ago by penerka.