Filter
rpress_user_account_verified_redirect
On this page
Filters the redirect URL after an account is successfully verified.
Runs in rpress_process_user_account_verification() after the account is marked verified. The default is the verification page with rpress-verify-success set to 1. The result is used with wp_safe_redirect().
Parameters#
| Parameter | Type | Description |
|---|---|---|
$redirect | string | The redirect URL. |
Return value#
string. The URL to redirect to.
Example#
function my_account_verified_redirect( $redirect ) {
return home_url( '/welcome/' );
}
add_filter( 'rpress_user_account_verified_redirect', 'my_account_verified_redirect' );
Notes#
wp_safe_redirect() only allows hosts permitted by the allowed_redirect_hosts filter.
Source#
Applied in:
includes/user-functions.php(line 835), inrpress_process_user_account_verification()
See also#
Was this page helpful?
