Forums
(@hugod)
1 year, 5 months ago
Does your code run once pll_init action is fired?We don’t have any filter such as wpml_setting.
pll_init
wpml_setting
Hi @emrevona,You can use our public API to retrieve the main Polylang class instance:
$polylang_settings = PLL()->options; if($polylang_settings[“force_lang”] == 3){ // do something }
Hello @acp693,It’s usually the theme that manages responsive content. So with custom CSS/JS it’d be possible to make the menu responsive.
1 year, 10 months ago
Hi @alexisbienayme,Any plugin filtering rewrite rules and processing them as strings (since that what it should be) will have an error raised.