芝麻web文件管理V1.00
编辑当前文件:/home/freeclou/optimyar/wp-content/plugins/all-in-one-wp-migration/uninstall.php
. * * 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\_%'" ); }