• I am trying to get a login redirect to work. I have the following code in my functions file:

    
    function my_login_redirect_employers() { return '/welcome-etc/'; }
    add_filter('login_redirect', 'my_login_redirect_employers',10,3);
    

    However it is being overriden by another plugin in the site. Instead it is redirect to the members profile page. The site has BBPress installed and Theme My Login. Deactivating Theme My Login causes the same login issue and deactivating BBPress breaks the site.

    So how can I make sure my redirect function is listened to / takes priority and others are ignored?

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Login Redirect not working’ is closed to new replies.