sensei icon indicating copy to clipboard operation
sensei copied to clipboard

Provide option to disable MailPoet Intergration

Open dericleeyy opened this issue 8 months ago • 3 comments

Is your feature request related to a problem? Please describe

Sensei automatically creates lists in MailPoet for courses and groups. Disabling it is impossible if Mailpoet is installed and set up.

Describe the solution you'd like

Provide an option in the settings screen to diable the intergration.

Additional context

Requested by https://wordpress.org/support/topic/turn-off-mailpoet-integration/

dericleeyy avatar Apr 07 '25 11:04 dericleeyy

Workaround:

  1. In your WordPress install, go to wp-content/mu-plugins/. If it doesn’t exist, create it.
  2. Inside, create a file like disable-sensei-mailpoet.php.
  3. Add this code
<?php
/**
 * Plugin Name: Disable Sensei MailPoet Integration Early
 */

add_filter( 'sensei_email_mailpoet_feature', '__return_false', 0 );

This ensures the filter is registered before Sensei LMS checks it and tries to initialize the MailPoet integration.

https://senseilms.com/documentation/sensei-mailpoet-integration/

dericleeyy avatar Apr 07 '25 11:04 dericleeyy

Hi @dericleeyy 👋,

I'd love to work on this enhancement if it's available. It makes sense to give users a clear UI option in the Sensei LMS settings to disable the MailPoet integration, especially for those who don’t want auto-created lists.

Proposal: Add a toggle or checkbox in the plugin’s settings screen (e.g., under Emails or Integrations) to allow enabling/disabling the MailPoet integration. Internally, this would control the sensei_email_mailpoet_feature filter value.

Let me know if I can move forward with this. Happy to collaborate!

Thanks!

vk17-starlord avatar May 06 '25 11:05 vk17-starlord

Hi @vk17-starlord ,

Thanks for offering to work on this. However, since this issue has not been triaged, it's not the best candidate to work on. Issues such as this normally requires design work as well.

It's best to look for issues that has already been triaged.

dericleeyy avatar May 08 '25 09:05 dericleeyy