403Webshell
Server IP : 85.158.181.41  /  Your IP : 216.73.217.12
Web Server : Apache
System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64
User : moncbefd ( 1024)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/moncbefd/www.moneta.at/blog/wp-content/plugins/wp-maintenance-mode/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/moncbefd/www.moneta.at/blog/wp-content/plugins/wp-maintenance-mode//uninstall.php
<?php

// If uninstall not called from WordPress, then exit
if (!defined('WP_UNINSTALL_PLUGIN')) {
    exit();
}

/**
 * Uninstall operations
 */
function single_uninstall() {
    // delete subscribers table
    $GLOBALS['wpdb']->query("DROP TABLE IF EXISTS {$GLOBALS['wpdb']->prefix}wpmm_subscribers");

    // delete options
    delete_option('wpmm_settings');
    delete_option('wpmm_notice');
    delete_option('wpmm_version');
}

// Let's do it!
if (is_multisite()) {
    single_uninstall();

    // delete data foreach blog
    $blogs_list = $GLOBALS['wpdb']->get_results("SELECT blog_id FROM {$GLOBALS['wpdb']->blogs}", ARRAY_A);
    if (!empty($blogs_list)) {
        foreach ($blogs_list as $blog) {
            switch_to_blog($blog['blog_id']);
            single_uninstall();
            restore_current_blog();
        }
    }
} else {
    single_uninstall();
}

Youez - 2016 - github.com/yon3zu
LinuXploit