• Hello!
    I use the Impreza premium theme.
    And it has the partial support of Polylang plugin. So I need to get the value of ‘hide_current’ argument ( pll_the_languages function use it an argument). I need it for redefining a behavior of themes [lang] shortcode, which adding language slug into the URL. (I use it for defining the logo’s image URL in the header). It works fine, but when I set “Hide URL language information for default language” option the links became incorrect with language slug.

    So, could you hint me, how I can get a value of Polylang arguments ‘hide_current’ and other?

  • The topic ‘How can I get the value of ‘hide_current’ arg?’ is closed to new replies.