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)?