. * * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ */ // Include plugin bootstrap file require_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'all-in-one-wp-migration.php'; /** * Trigger Uninstall process only if WP_UNINSTALL_PLUGIN is defined */ if ( defined( 'WP_UNINSTALL_PLUGIN' ) ) { global $wpdb, $wp_filesystem; // Delete any options or other data stored in the database here delete_option( AI1WM_URL_IP ); delete_option( AI1WM_URL_ADAPTER ); delete_option( AI1WM_SECRET_KEY ); delete_option( AI1WM_AUTH_USER ); delete_option( AI1WM_AUTH_PASSWORD ); delete_option( AI1WM_STATUS ); }