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.


Top ↑

Source Source

File: bp-core/bp-core-caps.php


Top ↑

Changelog Changelog

Changelog
Version Description
1.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.