Results 1 to 1 of 1

Thread: How to undo the 'redirect to front page' after wp login (Vantage)

  1. #1
    Thread Starter
    seofoxx's Avatar
    Join Date
    Nov 2012
    Location
    Germany
    Posts
    25
    Thanks
    1
    Thanked 0 Times in 0 Posts

    How to undo the 'redirect to front page' after wp login (Vantage)

    I have to undo the 'redirect to front page' after wp login to make a special plugin work.
    Fastest way is to comment following line in functions.php of vantage theme like this:
    //add_action( 'wp_login', 'va_redirect_to_front_page' );
    It works fine but unfortunately it will not work after the next vantage update!
    So this is not really an option.
    That's why I added following line to functions.php of my child theme:
    remove_action( 'wp_login', 'va_redirect_to_front_page' );
    This should work but it doesn't!!! And I tried this:
    remove_action( 'wp_login', 'va_redirect_to_front_page', 11 );
    This should also work but it doesn't!!!

    Any other ideas to remove this action (in child theme)?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: March 18th, 2013, 09:47 PM
  2. redirect to current ad page after login
    By t1rnanog in forum ClassiPress General Discussion
    Replies: 1
    Last Post: February 12th, 2013, 09:57 AM
  3. Redirect to Previous Page After Login or Register
    By drabello in forum ClassiPress General Discussion
    Replies: 3
    Last Post: September 25th, 2012, 05:46 AM
  4. Vantage front page, reviews instead of listing.
    By kjetilenoksen in forum Report Vantage Bugs (Legacy)
    Replies: 7
    Last Post: August 11th, 2012, 06:41 PM
  5. Post an Ad redirect me to Login Page
    By crea8s in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: February 9th, 2012, 07:35 AM