apply_filters( 'bp_xprofile_map_meta_caps', array $caps , string $cap , int $user_id , mixed $args )
Filters the XProfile caps to built in WordPress caps.
Description
Parameters
- $caps
-
(array) Capabilities for meta capability.
- $cap
-
(string) Capability name.
- $user_id
-
(int) User ID being mapped.
- $args
-
(mixed) Capability arguments.
Source
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.