Hook – watu_exam_submitted
-
How to use the hook “watu_exam_submitted” ?
I want to have redirect to another page after complete quiz
I’m trying:function my_watu_insert ($taking_id) { if($taking_id == 2) wp_redirect( get_permalink(4) ); elseif ($exam_id == 2) wp_redirect( get_permalink(21) ); else wp_redirect( get_permalink(10) ); } add_action( 'watu_exam_submitted', 'my_watu_insert');
But its not working!
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Hook – watu_exam_submitted’ is closed to new replies.