LLMS_Admin_Reporting_Tab_Students::output()
Output HTML for the current view within the students tab
Description Description
Return Return
(void)
Source Source
File: includes/admin/reporting/tabs/class.llms.admin.reporting.tab.students.php
public function output() { // single student if ( isset( $_GET['student_id'] ) ) { $tabs = apply_filters( 'llms_reporting_tab_student_tabs', array( 'information' => __( 'Information', 'lifterlms' ), 'courses' => __( 'Courses', 'lifterlms' ), 'memberships' => __( 'Memberships', 'lifterlms' ), 'achievements' => __( 'Achievements', 'lifterlms' ), 'certificates' => __( 'Certificates', 'lifterlms' ), ) ); llms_get_template( 'admin/reporting/tabs/students/student.php', array( 'current_tab' => isset( $_GET['stab'] ) ? esc_attr( $_GET['stab'] ) : 'information', 'tabs' => $tabs, 'student' => new LLMS_Student( intval( $_GET['student_id'] ) ), ) ); } // End if(). else { llms_get_template( 'admin/reporting/tabs/students/students.php' ); } }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.2.0 | Introduced. |
User Contributed Notes User Contributed Notes
Permalink: