LLMS_Student_Dashboard
LLMS_Student_Dashboard class.
Description Description
Source Source
File: includes/class.llms.student.dashboard.php
Changelog Changelog
Version | Description |
---|---|
4.0.0 | Removed deprecated methods. |
3.28.2 | Unknown. |
3.0.0 | Introduced. |
Methods Methods
- __construct — Constructor
- add_endpoints — Add endpoints to the LLMS_Query class to be automatically registered
- get_courses — Get list of student's courses used for recent courses on the dashboard and all courses (paginated) on the "View Courses" endpoint
- get_current_tab — Retrieve the current tab when on the student dashboard
- get_endpoints — Retrieve an array of all endpoint data for student dashboard endpoints
- get_tabs — Retrieve all dashboard tabs and related data
- get_tabs_for_nav — Retrieve dashboard tab data as required to display navigation links Excludes any endpoint disabled by deleting the slug from account settings
- is_endpoint_enabled — Determine if an endpoint is disabled If the custom endpoint option is an empty string (blank) the settings define the endpoint as disabled
- modify_dashboard_title — Handle modification of the default dashboard title for certain pages and sub pages
- modify_rewrite_rules_order
- output_edit_account_content — Callback to output the edit account content
- output_orders_content — Endpoint to output orders content
- output_redeem_voucher_content — Callback to output content for the voucher endpoint