This action hook will be executed when site access restricted for non logged in users.
Hook Name: arm_restrict_site_access_handling
Hook Type: Action
Source: core/classes/class.arm_restriction.php
Usage:
add_action( 'arm_restrict_site_access_handling', 'your_function');
function your_function($wp) {
//Do Your Action.
//$wp WordPress Object from 'parse_request' hook.
}
Parameters:
$wp
WordPress Object from ‘parse_request’ hook