arm_restrict_site_access_handling

This action hook will be executed when site access restricted for non logged in users.

Hook Type: Action
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