Compatibility with Polylang
-
When used with Polylang plugin, PPOM throws fatal error.
I fixed it by by changing:
$wpml_default_lang = $sitepress->get_default_language();
to
$wpml_default_lang = apply_filters('wpml_default_language', NULL );
in woocommerce-product-addon/inc/functions.php.
WPML Documentation: https://wpml.org/documentation/support/wpml-coding-api/wpml-hooks-reference/#hook-605607
Will you add this to your next update?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Compatibility with Polylang’ is closed to new replies.