Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > content-control > inc > deprecated
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
class.is.php | File | 1101 bytes | October 01 2023 13:39:02. | |
class.restrictions.php | File | 642 bytes | June 21 2024 13:00:36. |
<?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' ); } }
SILENT KILLER Tool