WordPress hack: Redirect to a custom page after registration

Simply drop this snippet in your functions.php or a plugin.

function __my_registration_redirect(){
    return home_url( '/my-page' );
}
add_filter( 'registration_redirect', '__my_registration_redirect' );

Thanks TheDeadMedic for the tip!

Leave a Reply

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