Filter: um_login_invalid_nonce_redirect_url

apply_filters( 'um_login_invalid_nonce_redirect_url', $error_url ) → {string}

Filters URL for redirect if login form nonce isn't verified.

Parameters:
Name Type Description
$error_url string

URL for redirect if login form nonce isn't verified.

Since:
  • 2.0
Source:
Returns:

URL for redirect.

Type
string
Example

Change URL for redirect if login form nonce isn't verified.

function my_um_login_invalid_nonce_redirect_url( $error_url ) {
    return '{your_custom_url}';
}
add_filter( 'um_login_invalid_nonce_redirect_url', 'my_um_login_invalid_nonce_redirect_url' );