LLMS_Analytics_Courses::lesson_student_table( $search )
Description Description
Source Source
File: includes/admin/analytics/class.llms.analytics.courses.php
public function lesson_student_table( $search ) { //$headers = array( 'Last', 'First', 'Enrolled', 'Completion', 'Last Lesson Completed' ); if ( $search ) { $student_arrays = LLMS_Analytics::get_students( $search ); //array_unshift($students, $headers); } $html = '<p class="llms-label">' . __( 'Enrolled Students', 'lifterlms' ) . '</p>'; $html .= '<script> var students_result_large = ' . json_encode( $student_arrays['large'] ) . ' var students_result_small = ' . json_encode( $student_arrays['small'] ) . ' </script>'; $html .= '<div id="table_div" class="llms-chart"></div>'; return $html; }
Expand full source code Collapse full source code View on GitHub