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