I want to redirect to a page after the user's registration email has been sent. What is the correct hook?

user_register is too early, that is the user is entered into the database but the email isn't send.

Thank you!

1 Answer 1


I would use the registration_redirect filter. This allows you to set where the user is sent to, but leaves WordPress to perform the redirect (after everything has successfully processed).

function wpse_139267_registration_redirect( $url ) {
    return site_url( 'thank-you' );

add_filter( 'registration_redirect', 'wpse_139267_registration_redirect' );

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.