arm_restricted_url_redirect_url

This filter provides access to modify/change redirection URL which is commonly set for restricted URLs.

Hook Type: Filter
Usage:
add_filter( 'arm_restricted_url_redirect_url', 'your_function', 10, 2);
function your_function($redirect_url, $wp) {
    //$redirect_url Redirection URL.
    //$wp Global WordPress Object
    $redirect_url = 'http://example.com';
    return $redirect_url;
}
Parameters:
$redirect_url
Redirection URL
$wp
Global WordPress Object