After WP registration send user to specific page

Many wordpress website users allow user to register on there site. After new user registration if we want to show them specific instructions or registration success page then you can use the following code. Put following code into functions.php file.

In this article I explained you about how can we redirect the user after WP registration and send user to specific page.

WP registration send user to specific page

Before adding the following code create your “registration-done” page.

function wpapi_registration_redirect(){
    return home_url( '/registration-done/' );
}
add_filter( 'registration_redirect', 'wpapi_registration_redirect' );

Add a Comment

Your email address will not be published. Required fields are marked *