Home / functions.php / Redirect a successful registration to specific page
  • How to Redirect a successful registration to specific page

    redirect-a-sucessful-registration-page

    When you allow user registration on our wordpress site you may want to add something extra. Interested in thanking people after they register or just send them to a specific page for newly registered members.

    ( click code to copy )

    wordpress snippet : PHP

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

    ( WordPress codex functions, hooks, in this snippet. )

    home, add_filter, home_url, wp,