Viewing 1 replies (of 1 total)
  • Plugin Author Dennis Ploetner

    (@realloc)

    Hi,

    $blog     = MslsBlogCollection::instance()->get_current_blog();
    $language = $blog->get_language(); // full language code
    $alpha2   = $blog->get_alpha2(); // short language code

    Cheers,
    Dennis.

Viewing 1 replies (of 1 total)

The topic ‘How I get the language code’ is closed to new replies.