Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter hossamkhaled

    (@hossamkhaled)

    i use this hook masterstudy_lms_save_quiz to get quiz id after create but if i use

    ( new MasterStudy\Lms\Repositories\CurriculumRepository() )->get_lesson_course_ids($quiz_id);

    to get course_id return empty array

    Plugin Support mgordonStylemixThemes

    (@mgordon7)

    Hi @hossamkhaled

    Thank you for reaching out,

    Currently, there is only one way and you can get all the courses IDs?
    ?
    Here the hook for it > ( new CurriculumRepository() )->get_lesson_course_ids( $quiz_id )

    Our dev team will include new hooks in the future step-by-step

    Best regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how i get course_id in course builder’ is closed to new replies.