Hello @saurabhj91
Here is a code snipet we used to enable the redirect. We shared the way out to remove our filter list. Now you have to write your own code to set the new url using the same filter / hook.
add_action('init','wcmp_init');
function wcmp_init(){
global $WCMp;
remove_filter('woocommerce_registration_redirect', array($WCMp->user, 'vendor_login_redirect'), 30);
remove_filter('woocommerce_login_redirect', array($WCMp->user, 'wcmp_vendor_login'), 10);
remove_filter('login_redirect', array($WCMp->user, 'wp_wcmp_vendor_login'), 10);
}
-
This reply was modified 7 years, 10 months ago by
Dualcube.
-
This reply was modified 7 years, 10 months ago by
Dualcube.