File: bp-integrations/learndash/buddypress/Reports.php |
Description |
|---|---|
| Reports::showReportTables() |
Output report results tables |
| Reports::forceOwnReportResults() |
Only allow non admin/mod to view his own reports |
| Reports::showReportExport() |
Output report export button html |
| Reports::removeCourseFilterIfOnlyOne() |
Remove the filter if only 1 option available |
| Reports::removeUserFilterIfStudent() |
Remove user filter is nond admin/mod are viewing reports tab |
| Reports::reportAdditionalActivityFields() |
Sub filter for ld’s activity sql query on fields |
| Reports::reportAdditionalActivityTables() |
Sub filter for ld’s activity sql query on joins |
| Reports::reportAdditionalActivityWheres() |
Sub filter for ld’s activity sql query on wheres |
| Reports::init() |
Add actions once integration is ready |
| Reports::registerReportsScript() |
Add scripts when it’s on the reports page |