LLMS_Admin_Menus::status_page_includes()

Include files used on the Status page.


Return Return

(void)


Top ↑

Source Source

File: includes/admin/class.llms.admin.menus.php

	 */
	public function reporting_page_init() {

		if ( isset( $_GET['student_id'] ) && ! llms_current_user_can( 'view_lifterlms_reports', llms_filter_input( INPUT_GET, 'student_id', FILTER_SANITIZE_NUMBER_INT ) ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
			wp_die( __( 'You do not have permission to access this content.', 'lifterlms' ) );
		}

		$reporting = new LLMS_Admin_Reporting();
		$reporting->output();

	}

	/**
	 * Include files used on the Status page.


Top ↑

Changelog Changelog

Changelog
Version Description
6.0.0 Removed loading of class files that don't instantiate their class in favor of autoloading.
4.12.0 Added llms_load_admin_tools action.
3.37.19 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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