LLMS_Admin_Reporting_Tab_Enrollments::get_widget_data()

Get an array of ajax widgets to load on page load


Description Description


Return Return

(array)


Top ↑

Source Source

File: includes/admin/reporting/tabs/class.llms.admin.reporting.tab.enrollments.php

	public function get_widget_data() {
		return apply_filters( 'llms_reporting_tab_enrollments_widgets', array(
			array(
				'registrations' => array(
					'title' => __( 'Registrations', 'lifterlms' ),
					'cols' => '1-4',
					'content' => __( 'loading...', 'lifterlms' ),
					'info' => __( 'Number of total user registrations during the selected period', 'lifterlms' ),
				),
				'enrollments' => array(
					'title' => __( 'Enrollments', 'lifterlms' ),
					'cols' => '1-4',
					'content' => __( 'loading...', 'lifterlms' ),
					'info' => __( 'Number of total enrollments during the selected period', 'lifterlms' ),
				),
				'coursecompletions' => array(
					'title' => __( 'Courses Completed', 'lifterlms' ),
					'cols' => '1-4',
					'content' => __( 'loading...', 'lifterlms' ),
					'info' => __( 'Number of total courses completed during the selected period', 'lifterlms' ),
				),
				'lessoncompletions' => array(
					'title' => __( 'Lessons Completed', 'lifterlms' ),
					'cols' => '1-4',
					'content' => __( 'loading...', 'lifterlms' ),
					'info' => __( 'Number of total lessons completed during the selected period', 'lifterlms' ),
				),
			),
		) );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.2.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.