Courses::showCourseButton()
Output course link button html
Description
Source
File: bp-integrations/learndash/buddypress/Courses.php
76 77 78 79 80 81 82 83 84 | public function showCourseButton() { if (! is_user_logged_in()) { return ; } $label = $this ->getUserCourseViewButtonLabel(bp_loggedin_user_id(), get_the_ID()); require bp_locate_template( 'groups/single/courses-view-button.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.