function to check if unit is locked

Home Forums Legacy Support Support queries How-to & Troubleshooting function to check if unit is locked

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #128104
    edubravo
    Spectator
    Hello,   is there a function we can use to check if the user has completed a unit? I am trying to list all units on a page, with direct links, however, i want only the units that have been completed by the user to be accessible.   thank you
    #128150
    H.K. Latiyan
    Participant
    Hi, Yes there is a function for checking if the unit is completed by a user or not bp_course_check_unit_complete($unit_id,$user_id,$course_id);
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘function to check if unit is locked’ is closed to new replies.