Buy Pro and Unlock57+ Addons Completely Free!

up to 70% off
Black Friday
Starts at $69
00DAYS 00HRS 00MINS 00SECS

Documentation

Content Restriction Hooks
arm_is_allow_access
This Filter is useful to check whether the user has right to access site or not. This filter function argument and return value is true/false if the current user can/cannot access the site.
Hook Details
  • Hook Type: Filter
  • Source: core/classes/class.arm_restriction.php
Usage:
Parameters:
$allowed
True if allowed access, False if not allowed
$extraVars
Array of User information like User ID & Plan ID