I'm not familiar enough with WP hook / php code.
But what is the code/hook for redirected back to last Topic/Lesson/Quiz page/url when the course is completed?
By default, when the course is completed in Learndash, it will be redirected to course page / course url.
I have asked Learndash Support but I'm still not get the answer.
I have read this link
https://honorswp.com/docs/learndash-how-tos/how-to-redirect-user-after-course-completion/
https://www.radiocastvps.com/how-to-redirect-to-a-page-after-completing-a-learndash-course/
https://wp.zacgordon.com/2017/06/02/how-to-redirect-to-custom-page-after-completing-a-learndash-course/
but most of these custom hooks for fixed/static page not dynamic page based on something.
Thank you very much.