Support

Home Forums WP User Integration EE4 not redirecting back to registration page after login

EE4 not redirecting back to registration page after login

Posted: August 31, 2016 at 6:25 pm


Lee Gumbiner

August 31, 2016 at 6:25 pm

I have EE4 with the user integration add-on. When registering for an event, if the user logs on to get a discount, they are not redirected back to the registration page.


Josh

  • Support Staff

September 1, 2016 at 8:44 am

Hi Lee,

I checked your site and what’s happening is the S2 Member plugin breaks that redirect, which you should be able to avoid by adding the following code to your site specific plugin:

add_filter("ws_plugin__s2member_login_redirect", "my_custom_login_redirect", 10, 2);
function my_custom_login_redirect($redirect, $vars = array()) {
  return false;
}

I would have added the above code to the plugin, but the FTP credentials that you sent do not work.

The support post ‘EE4 not redirecting back to registration page after login’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Status: closed

Updated by  Josh 2 years, 9 months ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!