apply_filters( 'bp_map_meta_caps', array $caps , string $cap , int $user_id , array $args )
Filters the community caps mapping to be built in WordPress caps.
Description
Parameters
- $caps
-
Returns the user's actual capabilities.
- $cap
-
Capability name.
- $user_id
-
The user ID.
- $args
-
Adds the context to the cap. Typically the object ID.
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.