Redirect a User to a Specific Page After Registration




Redirect a User to a Specific Page After Registration

Redirect a User to a Specific Page After Registration

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 successful registration. You can add custom thank you 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