How can we add a redirection after select the best answer?

Solved17.39K viewsGeneral

Hi, my question is, how can we add a redirection after the user select the best answer? I found an action hooks “ap_select_answer,” which will trigger after selecting the best answer, but it will take a long time on loading and won’t do the redirection. So I wonder if anyone has a possible solution to solve this?

Question is closed for new answers.
Selected answer as best

You can use JS callback for redirect:

AnsPress.on('answerToggle', function(){
    window.location = 'YOUR URL HERE'

Selected answer as best