This Filter provides access to modify an array of page_id of pages which are only allowed to access when all other content of a site is restricted.
Hook Name: arm_restricted_site_access_allow_pages
Hook Type: Filter
Source: core/classes/class.arm_restriction.php
Usage:
add_filter( 'arm_restricted_site_access_allow_pages', 'your_function');
function your_function($page_ids) {
//$page_ids Array of allowed page ids.
$page_ids[] = 31;
return $page_ids;
}
Parameters:
$page_ids
Array of allowed page ids