arm_restrict_content_shortcode_hasaccess

This Filter is applied to check current user is accessible for restricted content shortcode or not .

Hook Type: Filter
Usage:
add_filter( 'arm_restrict_content_shortcode_hasaccess', 'your_function', 10, 2);
function your_function($hasaccess, $args) {
    //$hasaccess Array of access rule items.
    //$args Shortcode Arguments.
    return $hasaccess;
}
Parameters:
$hasaccess
Array of access rule items
$args
Shortcode Arguments