Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
.
*
* Attribution: This code is part of the All-in-One WP Migration plugin, developed by
*
* ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
* ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
* ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
* ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
* ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
* ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
*/
if ( ! defined( 'ABSPATH' ) ) {
die( 'Kangaroos cannot jump here' );
}
// Trigger Uninstall process only if WP_UNINSTALL_PLUGIN is defined
if ( defined( 'WP_UNINSTALL_PLUGIN' ) ) {
global $wpdb;
// Reset cron schedules
if ( ( $cron = get_option( 'cron', array() ) ) ) {
foreach ( $cron as $timestamp => $hooks ) {
foreach ( $hooks as $key => $value ) {
if ( strpos( $key, 'ai1wm_' ) === 0 ) {
unset( $cron[ $timestamp ][ $key ] );
}
}
}
update_option( 'cron', $cron );
}
// Delete any options or other data stored in the database here
$wpdb->query( "DELETE FROM `{$wpdb->options}` WHERE `option_name` LIKE 'ai1wm\_%'" );
}