• Hi
    I am going to use a code in the function.php file to execute only for one language, please guide me what condition should I use before my code?
    Thanks

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

    (@chouby)

    Hello,

    I advise that you use this WordPress function: get_locale() which will return you the current locale. You can it in an if() test to execute a bloc of code for only one language.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.