bp_get_community_caps()
Return community capabilities.
Description
Return
(array) Community capabilities.
Source
File: bp-core/bp-core-caps.php
function bp_get_community_caps() {
// Forum meta caps.
$caps = array();
/**
* Filters community capabilities.
*
* @since BuddyPress 1.6.0
*
* @param array $caps Array of capabilities to add. Empty by default.
*/
return apply_filters( 'bp_get_community_caps', $caps );
}
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.