Freemius-compatible uninstall handler + branded pricing screen
Cleanup release required by Freemius's plugin validator. When Freemius is integrated, the plugin's uninstall.php file must be removed and option cleanup must run through the SDK's after_uninstall hook instead, so Freemius's own uninstall flow and the plugin's cleanup execute in the right order. This release also wraps the Freemius pricing screen with EMCP Tools-branded chrome.
Changed
uninstall.phpremoved. Option cleanup now runs viaemcp_pro_fs()->add_action( 'after_uninstall', 'elementor_mcp_after_uninstall' )registered in the plugin bootstrap.
Added
- Two missing options now cleaned up on uninstall:
elementor_mcp_low_tool_modeandelementor_mcp_defaults_applied. Both were introduced in 1.6.0 but were never added to the originaluninstall.phpcleanup list. - Branded chrome around the Freemius pricing screen via Freemius's
templates/pricing.phpfilter. A gradient header that matches the EMCP Tools admin pages, a feature highlights card above the pricing iframe, and a collapsible FAQ + contact link below it. The pricing iframe itself is cross-origin and remains styled by Freemius's dashboard branding settings.
Upgrade notes
No behavior changes during normal use — uninstall changes only affect what happens when the plugin is removed. Recommended for everyone, required if you're submitting the plugin to Freemius (which rejects builds with an uninstall.php file present).