How to Redirect a User to a Specific Page After Registration?




How to Redirect a User to a Specific Page After Registration?

How to Redirect a User to a Specific Page After Registration?

This snippet will be useful if you allow people to register on your website. It lets you redirect a user to a specific page after a successful registration. You can add a custom thank you a message on the page.

Add the below snippets to functions.php file for Redirect a Successful Registration to Specific Page

function wps_registration_redirect(){
    return home_url( '/finished/' );
}
add_filter( 'registration_redirect', 'wps_registration_redirect' );

Source



leave a comment
Please post your comments here.

Search Free SEO Tools


Download SEO Tools Android App