[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.227.46.202: ~ $
<?php
/**
 * Uninstall Block Visibility
 *
 * Deletes all plugin settings. Does not currently remove block attributes.
 *
 * @package block-visibility
 * @since   1.0.0
 */

namespace BlockVisibility;

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

// Load main plugin file.
require_once 'block-visibility.php';

global $wpdb;

$blockvisibility_settings = get_option( 'block_visibility_settings' );

// Delete all Block Visibility settings.
if ( $blockvisibility_settings['plugin_settings']['remove_on_uninstall'] ) {
	delete_option( 'block_visibility_settings' );
}

Filemanager

Name Type Size Permission Actions
build Folder 0755
includes Folder 0755
languages Folder 0755
LICENSE.txt File 17.67 KB 0644
block-visibility.php File 1.46 KB 0644
readme.txt File 46.76 KB 0644
uninstall.php File 604 B 0644