Support » Plugin: Login or Logout Menu Item » Redirect priority setting

  • First thank you for a wonderful plugin!

    Is there any way to disable the “Login Redirect URL” field in your plug-in?

    I am using Restrict Content Pro for membership and the default setting there is to redirect the user after login to whatever protected page they were about to visit. However it appears that your plugin overrides this setting. I tried leaving your field blank but upon saving it adds homepage/previous link I had there.

    I read your post on priorities and tried changing both variables here higher and lower to see if that works.

    add_filter('login_redirect', 'lolmi_login_redirect_override', 50, 50);
    add_filter('login_redirect', 'lolmi_login_redirect_override', 2, 2);

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author cartpauj


    If you just comment out or delete that line, it would disable the redirect from this plugin.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.