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
Parameters
- $caps
-
Array of capabilities to return.
- $role
-
The role currently being loaded.
Source
File: bp-core/bp-core-caps.php
Changelog
Version | Description |
---|---|
BuddyPress 1.6.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.