LLMS_Roles
LifterLMS Custom Roles and Capabilities
Description Description
Source Source
File: includes/class.llms.roles.php
Changelog Changelog
Version | Description |
---|---|
3.13.0 | Introduced. |
Methods Methods
- get_all_caps — Retrieve an array of all capabilities for a role
- get_all_core_caps — Get an array of registered core lifterlms caps
- get_core_caps — Retrieve the LifterLMS core capabilities for a give role
- get_post_type_caps — Retrieve the post type specific capabilities for a give role
- get_roles — Retrieve LifterLMS roles and role names
- get_wp_caps — Retrieve the core WP capabilities for a give role
- install — Install custom roles and related capabilities
- remove_roles — Uninstall custom roles and remove custom caps from default WP roles
- update_caps — Update the capabilities for a given role