A module for handling WordPress brand plugins and modules deactivations.
- Display a modal/popup when a user attemps to deactivate the brand plugin on plugins.php page.
- The modal contains two steps. The first one, will bring the user's attention to all the features that brand plugin adds to their site. And the second step is a survey form asking the user for the reason they're deactivating the plugin.
- When the survey is submitted, the response is captured for analytics.
- When the brand plugin is deactivated, the module will set the coming soon option in the database.
- On plugins.php page when the user clicks
Deactivate
on the brand plugin, the survey modal should appear. - In the modal, when the modal clicks
Skip and Deactivate
orSubmit
the modal MUST be closed and the plugin MUST be deactivated.
composer config repositories.newfold composer https://newfold-labs.github.io/satis
composer require newfold-labs/wp-module-deactivation