apply_filters( 'bp_get_caps_for_role', array $caps , string $role )
Filters the array of capabilities based on the role that is being requested.
Parameters Parameters
- $caps
-
(array) Array of capabilities to return.
- $role
-
(string) The role currently being loaded.
Source Source
File: bp-core/bp-core-caps.php
Changelog Changelog
Version | Description |
---|---|
1.6.0 | Introduced. |