Your IP : 3.144.92.231


Current Path : /home/church/www/wp-content/plugins/wp-server-stats/
Upload File :
Current File : /home/church/www/wp-content/plugins/wp-server-stats/uninstall.php

<?php
// if uninstall.php is not called by WordPress, die
if (!defined('WP_UNINSTALL_PLUGIN')) {
    die;
}

// Let's delete the Options
delete_option( 'wpss_settings_options' );
delete_option( 'wpss_db_advanced_info' );
delete_option( 'wpss_donate_notice' );

// Delete option for multisite
delete_site_option( 'wpss_settings_options' );
delete_site_option( 'wpss_db_advanced_info' );
delete_site_option( 'wpss_donate_notice' );

// Unregister settings
unregister_setting( 'wp_server_stats', 'wpss_settings_options' );

// Delete transients
delete_transient( 'wpss_server_location' );
delete_transient( 'wpss_cpu_count' );
delete_transient( 'wpss_cpu_core_count' );
delete_transient( 'wpss_server_os' );
delete_transient( 'wpss_db_software' );
delete_transient( 'wpss_db_version' );
delete_transient( 'wpss_db_max_connection' );
delete_transient( 'wpss_db_max_packet_size' );
delete_transient( 'wpss_db_disk_usage' );
delete_transient( 'wpss_db_index_disk_usage' );
delete_transient( 'wpss_php_max_upload_size' );
delete_transient( 'wpss_php_max_post_size' );
delete_transient( 'wpss-donate-notice' );
delete_transient( 'wpss_total_ram' );

// Delete option for multisite
delete_site_transient( 'wpss_server_location' );
delete_site_transient( 'wpss_cpu_count' );
delete_site_transient( 'wpss_cpu_core_count' );
delete_site_transient( 'wpss_server_os' );
delete_site_transient( 'wpss_db_software' );
delete_site_transient( 'wpss_db_version' );
delete_site_transient( 'wpss_db_max_connection' );
delete_site_transient( 'wpss_db_max_packet_size' );
delete_site_transient( 'wpss_db_disk_usage' );
delete_site_transient( 'wpss_db_index_disk_usage' );
delete_site_transient( 'wpss_php_max_upload_size' );
delete_site_transient( 'wpss_php_max_post_size' );
delete_site_transient( 'wpss-donate-notice' );