File: bp-integrations/learndash/buddypress/Courses.php
Description
Courses

Class for all courses related functions

Source: bp-integrations/learndash/buddypress/Courses.php:19

Courses::__construct()

Constructor

Source: bp-integrations/learndash/buddypress/Courses.php:26

Courses::init()

Add actions once integration is ready

Source: bp-integrations/learndash/buddypress/Courses.php:35

Courses::showUserProgress()

Output user course progress html

Source: bp-integrations/learndash/buddypress/Courses.php:46

Courses::showGroupProgress()

Output group course progress html

Source: bp-integrations/learndash/buddypress/Courses.php:65

Courses::showCourseButton()

Output course link button html

Source: bp-integrations/learndash/buddypress/Courses.php:76

Courses::getGroupCourses()

Returns the courses belongs to the group

Source: bp-integrations/learndash/buddypress/Courses.php:90

Courses::getUserCourseProgress()

Get user’s course progress

Source: bp-integrations/learndash/buddypress/Courses.php:105

Courses::getGroupCourseProgress()

Get gorup’s course progress

Source: bp-integrations/learndash/buddypress/Courses.php:130

Courses::getUserCourseViewButtonLabel()

Returns dynamic label text based on user’s course progress

Source: bp-integrations/learndash/buddypress/Courses.php:164