tml_redirect_url does not respect “action”
-
I added this code in my functions.php to change the redirect of the login page:
function custom_redirect() { return get_permalink(123); } add_filter( 'tml_redirect_url', 'custom_redirect', 'login' );
The problem is this filter does not respect my ‘login’ action parameter. It adds the redirect on every form, even on resetpassword and lostpassword. Did I misunderstood how it works or it’s just a bug?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘tml_redirect_url does not respect “action”’ is closed to new replies.