Forum Replies Created

Viewing 1 replies (of 1 total)
  • I sent a question to support “how to set up plugin to be viewing which language is currently choosed?”https://drive.google.com/file/d/0B-rDBwpohTOTazBucjU3bU5mX28/view?usp=sharing
    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.
Viewing 1 replies (of 1 total)