WPMLS Batch – get user batch name in current course

Home Forums WPLMS AddOns WPLMS Batches WPMLS Batch – get user batch name in current course

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #278099
    danalex
    Spectator
    Hi, as the title says, I want to get the user's batch/group name in the current quiz result page. What functions do I call to get the group name, the user is assigned too, in the course.
    #278643
    Scott Lang
    Moderator
    Hi, A course can have multiple batches. So you can get batch/group id by using this function: get_course_batches($course_id). Refer to this batch functions page:https://prnt.sc/tqzrka
    #278973
    danalex
    Spectator
    Thank you!
    #278984
    Scott Lang
    Moderator
    Ok, we are closing this topic. If you have any doubt you can create a topic and let us know
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘WPMLS Batch – get user batch name in current course’ is closed to new replies.