Filter: um_registration_pending_user_redirect

apply_filters( 'um_registration_pending_user_redirect', $url, $status, $user_id ) → {string}

Filters the redirect URL for pending user after registration.

Parameters:
Name Type Description
$url string

Redirect URL.

$status string

User status.

$user_id int

User ID.

Since:
  • 2.0
Source:
Returns:

Redirect URL.

Type
string
Example

Change redirect URL for pending user after registration.

function my_registration_pending_user_redirect( $url, $status, $user_id ) {
    // your code here
    return $url;
}
add_filter( 'um_registration_pending_user_redirect', 'my_registration_pending_user_redirect', 10, 3 );