HEX
Server: Apache
System: Linux srv674466.hstgr.cloud 5.14.0-503.19.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jan 7 17:08:27 EST 2025 x86_64
User: rialindia (1055)
PHP: 8.2.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/rialindia/public_html/wp-content/plugins/nitropack/uninstall.php
<?php
if (!defined('WP_UNINSTALL_PLUGIN')) {
    die;
}

$nitropackOptions = array(
    'nitropack-siteId',
    'nitropack-siteSecret',
    'nitropack-enableCompression',
    'nitropack-webhookToken',
    'nitropack-checkedCompression',
    'nitropack-cacheablePostTypes',
    'nitropack-safeModeStatus', // This setting is deprecated but still needs to be removed from old installations
    'nitropack-bbCacheSyncPurge',
    'nitropack-legacyPurge',
    'nitropack-distribution',
    'nitropack-minimumLogLevel',
    'nitropack_minimumLogLevel', // The minimumLogLevel may be set with both syntaxes
    'nitropack-dismissed-notices'
);
if (defined('MULTISITE') && MULTISITE) {
    $blogs = array_map(function($blog) { return $blog->blog_id; }, get_sites());

    foreach ($nitropackOptions as $optionName) {
        foreach ($blogs as $blogId) {
            delete_blog_option($blogId, $optionName);
        }
    }
} else {
    foreach ($nitropackOptions as $optionName) {
        delete_option($optionName);
    }
}

require_once 'nitropack-sdk/autoload.php';
require_once 'constants.php';
NitroPack\SDK\Filesystem::deleteDir(NITROPACK_DATA_DIR);
NitroPack\SDK\Filesystem::deleteDir(NITROPACK_PLUGIN_DATA_DIR);