Hi!
I am implementing this tip:
https://wplms.io/support/knowledge-base/mandatory-course-review-before-course-finish/
It works nice as it urges people to give a review on course submission.
However, after placing a review, it redirects to the course page and it does NOT finish the course.
Could you append the code that after submitting a review the course is marked as finished for this person after he/she posts a review.
kind regards
Thanks for getting back.
There is a syntax error in the code (it misses an "}", i guess at the end).
I tried the snippet, but how is this different from the default working?
When I click on finish course in the course, the course is finished never mind that I didn't write a review. The review form that is written in the snippet is never triggered. It is the default screen you get after finishing the course..
It should be:
(1) Click Finish Course
(2) Write a course review
(3) post course review
(4) System marks course as finished
(5) Redirect to course finished page (which says: you finished the course and got a certificate, basically the one you see now with this snippet).