$23 GRAYBYTE WORDPRESS FILE MANAGER $43

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/home/bqrcodec/contact.kemberinc.com/wp-content/plugins/wp-user-switch/

HOME
Current File : /home/bqrcodec/contact.kemberinc.com/wp-content/plugins/wp-user-switch//wp-user-switch.php
<?php
/**
 * Plugin Name: WP User Switch
 * Description: Switch instantly between one user account to another account in WordPress. This plugin make this easy for you.
 * Author: IqbalRony
 * Author URI: http://www.iqbalrony.com
 * Version: 1.0.5
 * License: GPLv2 or later
 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: wp-user-switch
*/

// Exit if accessed directly
if (!defined('ABSPATH')) {
	die;
}
/**
 * Define plugin version
 */
if (!defined('WP_USERSWITCH_VERSION')) {
	define('WP_USERSWITCH_VERSION', '1.0.5');
}
/**
 * Define plugin directory path
 */
if (!defined('WP_USERSWITCH_PATH')) {
	define('WP_USERSWITCH_PATH', plugin_dir_path(__FILE__));
}
if (!function_exists('wpus_get_plugin_path')) {
	function wpus_get_plugin_path($file) {
		return WP_USERSWITCH_PATH . $file;
	}
}
if (!function_exists('wpus_plugin_url')) {
	function wpus_plugin_url($url) {
		return plugins_url($url, __FILE__);
	}
}
/**
 * Define plugin assets directory folder path
 */
if (!defined('WP_USERSWITCH_ASSETS')) {
	define('WP_USERSWITCH_ASSETS', plugins_url('/assets/', __FILE__));
}
/**
 * Define Menu page slug
 */
if (!defined('WP_USERSWITCH_MENU_PAGE_SLUG')) {
	$menu_slug = sanitize_key( 'wp-userswitch' );
	define('WP_USERSWITCH_MENU_PAGE_SLUG', $menu_slug);
}

if ( ! defined( 'WP_USERSWITCH_LOGGED_IN_COOKIE' ) ) {
	define( 'WP_USERSWITCH_LOGGED_IN_COOKIE', 'wpus_switch_' . COOKIEHASH );
}

/**
 * Hooks
 */
add_action('plugins_loaded', 'wpus_element_load');
function wpus_element_load() {
	load_plugin_textdomain('wp-user-switch', false, plugin_basename(dirname(__FILE__)) . '/languages/');
	require_once wpus_get_plugin_path( 'inc/user-switch.php' );
	$User_Switch = 'IqbalRony\WP_User_Switch\User_Switch';
	$User_Switch::instance();
}


add_action('upgrader_process_complete', 'wpus_plugin_updated', 10, 2);
function wpus_plugin_updated($upgrader_object, $options) {
	$current_plugin_path_name = plugin_basename(__FILE__);

	$action = isset($options['action'])? $options['action']: '';
	$type = isset($options['type'])? $options['type']: '';
	$plugins = isset($options['plugins'])? (is_array($options['plugins'])? $options['plugins']: []): [];

	if ($action == 'update' && $type == 'plugin') {
		foreach ($plugins as $each_plugin) {
			if ($each_plugin == $current_plugin_path_name) {
				delete_option(WP_USERSWITCH_LOGGED_IN_COOKIE);
				break;
			}
		}
	}
}

Current_dir [ WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
18 Mar 2026 9.07 PM
bqrcodec / bqrcodec
0755
assets
--
26 Mar 2024 1.22 PM
bqrcodec / bqrcodec
0755
inc
--
26 Mar 2024 1.22 PM
bqrcodec / bqrcodec
0755
templates
--
26 Mar 2024 1.22 PM
bqrcodec / bqrcodec
0755
README.md
2.716 KB
26 Mar 2024 1.22 PM
bqrcodec / bqrcodec
0644
index.php
0.031 KB
26 Mar 2024 1.22 PM
bqrcodec / bqrcodec
0644
readme.txt
3.713 KB
26 Mar 2024 1.22 PM
bqrcodec / bqrcodec
0644
wp-user-switch.php
2.418 KB
26 Mar 2024 1.22 PM
bqrcodec / bqrcodec
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF