Hello. The following code below was working fine a few days ago to redirect users after registration, but now it does not work. can you help figure out where the error is?. thank you
/**
* @registration redirects. Redirect after employer register
*/
add_filter('noo_register_redirect_employer', function($redirect_to){
$redirect_to = 'https://external-web-site.com';
return $redirect_to;
});
/**
* @registration redirects. Redirect after candidate register
*/
add_filter('noo_register_redirect_candidate', function($redirect_to){
$redirect_to = 'https://external-web-site2.com';
return $redirect_to;
});