LLMS_Roles::get_all_core_caps()

Get an array of registered core lifterlms caps.


Return Return

(string[])


Top ↑

Source Source

File: includes/class.llms.roles.php

	public static function get_all_core_caps() {

		/**
		 * Filters the list of available LifterLMS core user capabilities
		 *
		 * @since 3.13.0
		 *
		 * @param string[] $capabilities List of LifterLMS user capabilities.
		 */
		return apply_filters(
			'llms_get_all_core_caps',
			array(
				'lifterlms_instructor',
				'manage_lifterlms',
				self::MANAGE_EARNED_ENGAGEMENT_CAP,
				'view_lifterlms_reports',
				'view_others_lifterlms_reports',
				'enroll',
				'unenroll',
				'create_students',
				'view_grades',
				'view_students',
				'view_others_students',
				'edit_students',
				'edit_others_students',
				'delete_students',
				'delete_others_students',
			)
		);
	}


Top ↑

Changelog Changelog

Changelog
Version Description
6.0.0 Added manage_earned_engagement capability.
4.21.2 Added the view_grades capability.
3.34.0 Added capabilities for student management.
3.14.0 Add the lifterlms_instructor capability.
3.13.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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