Newsletter and WPML compatibility
-
Hi,
This is David from the WPML compatibility team.
We had a report about your plugin and WPML not working well together:
https://wpml.org/forums/topic/newsletter-plugin-2/As you can see in our support thread, we found a way to fix this which is calling this with a plugins_loaded hook.
Change the line:
NewsletterSubscription::instance();To the following:
add_action(‘plugins_loaded’, function() {
NewsletterSubscription::instance();
}, 99);You probably dont want to use a closure but you get the idea.
Would like to include this change in your plugin so that your users can use WPML?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Newsletter and WPML compatibility’ is closed to new replies.