Home › Forums › Legacy Support › Support queries › How-to & Troubleshooting › function to check if unit is locked Tagged: unit lock This topic has 1 reply, 2 voices, and was last updated 7 years ago by H.K. Latiyan. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts September 7, 2017 at 3:01 am #128104 edubravoSpectator 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 September 7, 2017 at 6:50 am #128150 H.K. LatiyanParticipant 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); Author Posts Viewing 2 posts - 1 through 2 (of 2 total) The topic ‘function to check if unit is locked’ is closed to new replies.