Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 67836

Filter for custom redirect ?

$
0
0

Replies: 0

Hi there,

Thanks for such a great plugin.
I need to make a custom redirect so that when someone replies to a comment, he is redirected back to that comment reply after the social login.
When soeome click on the reply button in comment I change the url hash like this: window.location.hash = $( this ).closest(‘li’).attr(‘id’);
The the user has to log in with social login.
But that comment ID is not in the URL. Or if he opens the page with #comment-31, then clicks on the reply to comment-50, the url hash changes, but the social login doesn’t pick that up.

So, is there a filter I can use to set the redirect URL?
I am using the do_action(‘oa_social_login’); in every reply form for displaying the social login.

Thanks in advance


Viewing all articles
Browse latest Browse all 67836

Trending Articles