Courses::showUserProgress()
Output user course progress html
Description
Source
File: bp-integrations/learndash/buddypress/Courses.php
46 47 48 49 50 51 52 53 54 55 56 57 58 59 | public function showUserProgress() { if (! groups_is_user_member(bp_loggedin_user_id(), groups_get_current_group()->id)) { return ; } if (groups_is_user_admin(bp_loggedin_user_id(), groups_get_current_group()->id)) { return ; } $label = __( 'Your Progress' , 'buddyboss' ); $progress = $this ->getUserCourseProgress(); require bp_locate_template( 'groups/single/courses-progress.php' , false, false); } |
Changelog
Version | Description |
---|---|
BuddyBoss 1.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.