• Resolved Mirco Babini

    (@mirkolofio)


    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 like

    stm_lms_course_started_{$post_id}_{$course_id}

    In which the params are inverted. Please, double check that code.

    • This topic was modified 1 year, 6 months ago by Mirco Babini.
Viewing 1 replies (of 1 total)
  • Stephan StylemixThemes

    (@stephanstylemixthemes)

    Hi @mirkolofio

    I have informed our developers about the issue. Since we have limited resources, I can’t tell the exact estimated time of fix, because some development processes may take more time than expected. 

    Kindly follow Changelog in order to be informed about the updates.

    Thank you for your patience and understanding!

    Best regards

Viewing 1 replies (of 1 total)

The topic ‘Wrong arguments for hook stm_lms_lesson_started’ is closed to new replies.