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
