Wrong arguments for hook stm_lms_lesson_started
-
Hey! In course-player.php you run the hook
stm_lms_lesson_started
Then an action is added to
add_action( ‘stm_lms_lesson_started’, ‘STM_LMS_Course::lesson_started’, 10, 3 );
The parameters are in the wrong order though.
Then you are storing a ton of user metas likestm_lms_course_started_{$post_id}_{$course_id}
In which the params are inverted. Please, double check that code.
- You must be logged in to reply to this topic.