21 lines
652 B
PHP
21 lines
652 B
PHP
<?php
|
|
/**
|
|
* Uninstall script for Newsletter - SMTP (by ROBOTSTXT).
|
|
*
|
|
* This add-on does not perform any cleanup on uninstall. All data cleanup
|
|
* (including Newsletter plugin options) is handled by the core SMTP plugin
|
|
* when it is uninstalled.
|
|
*
|
|
* This ensures that:
|
|
* - If only the Newsletter add-on is removed, the configuration remains intact
|
|
* - If the core SMTP plugin is removed, all data (including add-on data) is cleaned up
|
|
*
|
|
* @package ROBOTSTXT_SMTP_Newsletter
|
|
*/
|
|
|
|
// Exit if not called by WordPress uninstaller.
|
|
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
|
|
exit;
|
|
}
|
|
|
|
// No cleanup needed - handled by core SMTP plugin uninstall.
|