Courses::init()
Add actions once integration is ready
Description
Source
File: bp-integrations/learndash/buddypress/Courses.php
public function init()
{
add_action('bp_ld_sync/courses_loop/after_title', [$this, 'showUserProgress'], 10);
add_action('bp_ld_sync/courses_loop/after_title', [$this, 'showGroupProgress'], 20);
add_action('bp_ld_sync/courses_loop/after_title', [$this, 'showCourseButton'], 30);
}
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.