lifterlms_template_student_dashboard_my_certificates( bool $preview = false )
Template for My Certificates on dashboard
Parameters Parameters
- $preview
-
(bool) (Optional) If
true, outputs a short list of certificates to display on the dashboard landing page. Otherwise displays all of the earned certificates for display on the view-certificates endpoint.Default value: false
Return Return
(void)
Source Source
File: includes/functions/llms.functions.templates.dashboard.php
}
}
if ( ! function_exists( 'lifterlms_template_student_dashboard_home' ) ) {
/**
* Main dashboard homepage template
*
* @since 3.14.0
*
* @return void
*/
function lifterlms_template_student_dashboard_home() {
llms_get_template( 'myaccount/dashboard.php' );
}
}
if ( ! function_exists( 'lifterlms_template_student_dashboard_header' ) ) {
/**
* Dashboard header template
*
* @since 3.0.0
*
* @return void
*/
function lifterlms_template_student_dashboard_header() {
llms_get_template( 'myaccount/header.php' );
}
}
if ( ! function_exists( 'lifterlms_template_student_dashboard_my_achievements' ) ) {
/**
* Template for My Achievements on dashboard
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 6.0.0 | Output short list when $preview is true. Don't output any HTML when the endpoint is disabled. |
| 3.19.0 | Unknown |
| 3.14.0 | Introduced. |