Viewing 3 replies - 16 through 18 (of 18 total)
  • It would reduce the memory used too (the main reason for which I fully separated backend and frontend code ?? )
    If you prefer, you can get the default language with something like:

    $pll_options = get_option('polylang');
    self::$language = $pll_options['default_language'];

    Plugin Author zafrira

    (@zafrira)

    Hi Chouby,

    just released an update and changed the code based on your suggestions.
    Thank you for the help! ??

    Plugin Author zafrira

    (@zafrira)

    Hi Tegotha,

    Support for WPML is now added to the plugin. Please upgrade to the latest version (1.1.1) to be able to use it.

    Thank you for your suggestion. And thanks to the wpml.org team for the support.

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘[Plugin: Cookie Compliance] Polylang compatible?’ is closed to new replies.