HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ns3133907 6.8.0-86-generic #87-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 18:03:36 UTC 2025 x86_64
User: cssnetorguk (1024)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: //home/surrey.me.uk/public_html/wp-content/plugins/zotya-htaccess-protect/uninstall.php
<?php
// File for uninstalling the plugin

//if uninstall not called from WordPress
if ( !defined( 'WP_UNINSTALL_PLUGIN' ) ) exit();

// Require the plugin files
require_once( __DIR__ . '/class.htaccess.php' );

global $ZOTYA_HP;
$ZOTYA_HP = new ZOTYA_HP();

// Remove htaccess
$ZOTYA_HP->remove_wp_root_protection();
$ZOTYA_HP->remove_wp_admin_protection();

// Delete the plugin options from DB
delete_option( 'zotya_hp_options' );