Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Roles::get_wp_caps( string $role )
Retrieve the core WP capabilities for a give role
Description Description
Parameters Parameters
- $role
-
(Required) Name of the role.
Return Return
(array)
Source Source
File: includes/class.llms.roles.php
Changelog Changelog
Version | Description |
---|---|
3.34.0 | Add the list_users capability to instructors. |
3.13.0 | Introduced. |