Change the default Woocommerce registration form [RESOLVED]

Hello,

I would like to change the default registration form of Wocoomerce. I have created a new form with Gravity Forms + Gravity Forms User Registration Add on and I would like to replace it with this one in the form-login.php. How can I do it?

Thanks,

You can do that with a filter hook, like this (change the URL to your new registration page):

add_filter('register_url', function($url) {
    return home_url('/sales/join-wine-club/', 'login');
});
1 Like