• Hi,
    I’m wondering if a php constant exists to deactivate the “detect browser language” ? I know it’s possible in the BO settings, but i’d like to set “detect browser language”to “false” (deactivate) in my config files.
    Thanks for your help !

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Chouby

    (@chouby)

    Hello,

    There is no such constant. But as it is stored in an option you can use the WordPress filter for options. In this case option_polylang. You will get an array in the filter with an element having ‘browser’ as key. Set the value to 0.
    I suggest that you add your filter in a mu-plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘Php Constants – deactivate detect language’ is closed to new replies.