Plugin doesn’t work with Polylang Pro
-
Hi Team. For now your plugin doesn’t work with the Polylang Pro. Could you update your code base in lokalise/include/Provider/class-lokalise-provider-polylang.php file? You can see 2 modified methods below
public function isEnabled(): bool
{
$activePlugins = array_filter($this->getPluginFiles(), 'is_plugin_active');
return count($activePlugins) > 0;
}
/**
* @return string[]
*/
private function getPluginFiles(): array
{
return [
'polylang/polylang.php',
'polylang-pro/polylang.php',
];
}
The topic ‘Plugin doesn’t work with Polylang Pro’ is closed to new replies.