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 Description
Parameters 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 Source
File: bp-core/bp-core-caps.php
Changelog Changelog
Version | Description |
---|---|
1.6.0 | Introduced. |