apply_filters( 'um_register_invalid_nonce_redirect_url', $error_url ) → {string}
Filters URL for redirect if register form nonce isn't verified.
Parameters:
Name | Type | Description |
---|---|---|
$error_url |
string | URL for redirect if register form nonce isn't verified. |
- Since:
- 2.0
- Source:
Returns:
URL for redirect.
- Type
- string
Example
function my_um_register_invalid_nonce_redirect_url( $error_url ) {
return '{your_custom_url}';
}
add_filter( 'um_register_invalid_nonce_redirect_url', 'my_um_register_invalid_nonce_redirect_url' );