• Resolved olehverkhola

    (@olehverkhola)


    Hello. I need to clean $_SESSION global array(I store there some info like shopping cart items, which must be different for different languages) when changing a language in the website. How can I do it with Polylang plugin?

    • This topic was modified 9 years, 6 months ago by olehverkhola. Reason: add tags
Viewing 1 replies (of 1 total)
  • Thread Starter olehverkhola

    (@olehverkhola)

    in file polylang/include/switcher.php I inserted ajax function to clean $_SESSION array when changing the value of language dropdown

Viewing 1 replies (of 1 total)

The topic ‘Polylang change language event’ is closed to new replies.