403Webshell
Server IP : 51.254.39.36  /  Your IP : 216.73.217.109
Web Server : Microsoft-IIS/10.0
System : Windows NT WIN-12GDIEC772I 10.0 build 20348 (Windows Server 2022) AMD64
User : IWPD_21(allbatf787) ( 0)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Inetpub/vhosts/allbat-sb.fr/httpdocs/wp-content/plugins/kadence-blocks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Inetpub/vhosts/allbat-sb.fr/httpdocs/wp-content/plugins/kadence-blocks//uninstall.php
<?php
/**
 * Handles uninstalling the telemetry library.
 */

use KadenceWP\KadenceBlocks\App;
use KadenceWP\KadenceBlocks\lucatume\DI52\Container;
use KadenceWP\KadenceBlocks\Optimizer\Database\Optimizer_Table;
use KadenceWP\KadenceBlocks\Optimizer\Database\Viewport_Hash_Table;
use KadenceWP\KadenceBlocks\StellarWP\ProphecyMonorepo\Container\ContainerAdapter;
use KadenceWP\KadenceBlocks\StellarWP\Schema\Register;
use KadenceWP\KadenceBlocks\StellarWP\Telemetry\Uninstall;

// Prevent direct file access.
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
	die;
}

require_once plugin_dir_path( __FILE__ ) . 'vendor/vendor-prefixed/autoload.php';
require_once plugin_dir_path( __FILE__ ) . 'vendor/autoload.php';

Uninstall::run( 'kadence-blocks' );

try {
	// Boot the Kadence application to set up all providers.
	$app = App::instance( new ContainerAdapter( new Container() ) );

	// Remove optimization tables.
	Register::remove_table( Viewport_Hash_Table::class );
	Register::remove_table( Optimizer_Table::class );
} catch ( Throwable $e ) {
	if ( function_exists( 'error_log' ) && defined( 'WP_DEBUG' ) && WP_DEBUG === true ) {
		// phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_error_log
		error_log( 'An error occurred when uninstalling Kadence Blocks: ' . $e->getMessage() );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit