Learndash Tutorial: Redirect Users After EVERY Quiz Completion

How to redirect

Previously, we posted a Learndash tutorial on how to redirect Learndash users after completion of a specific quiz, but what if you want to redirect after every quiz ?? So here is the solution. Please watch the video ….snippet code for redirection is given after the video

Video on Redirection After Every Quiz

Snipped Code For Redirection of LearnDash User after Every Quiz Completion

add_filter("learndash_completion_redirect", function($link, $post_id) {
$link='/destination-you-want';
return $link;
}, 5, 2);

Please paste the code using snippets code WordPress plugin .