apply_filters( "llms_get_{$role}_core_caps", string[] $caps , string[] $all_caps )
Filters the LifterLMS capabilities added to a LifterLMS user role.
Description Description
The dynamic portion of this hook $role
refers to the user’s role name.
Parameters Parameters
- $caps
-
(string[]) List of capabilities provided to the role.
- $all_caps
-
(string[]) Full list of all LifterLMS user capabilities.
Source Source
Changelog Changelog
Version | Description |
---|---|
4.21.2 | Introduced. |