403Webshell
Server IP : 192.64.118.117  /  Your IP : 3.145.149.120
Web Server : LiteSpeed
System : Linux premium56.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64
User : thecgapy ( 1160)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/thecgapy/mcprintingandpromotions.com/wp-content/plugins/um-recaptcha/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/thecgapy/mcprintingandpromotions.com/wp-content/plugins/um-recaptcha/uninstall.php
<?php
/**
 * Uninstall UM Recaptcha
 *
 */

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


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

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

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

$options = get_option( 'um_options', array() );
if ( ! empty( $options['uninstall_on_delete'] ) ) {
	if ( ! class_exists( 'um_ext\um_recaptcha\core\Setup' ) ) {
		/** @noinspection PhpIncludeInspection */
		require_once UM_RECAPTCHA_PATH . 'includes/core/class-setup.php';
	}

	$recaptcha_setup = new um_ext\um_recaptcha\core\Setup();

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

	update_option( 'um_options', $options );

	delete_option( 'um_recaptcha_last_version_upgrade' );
	delete_option( 'um_recaptcha_version' );
}

Youez - 2016 - github.com/yon3zu
LinuXploit