apply_filters( 'bp_get_caps_for_role', array $caps, string $role )

Filters the array of capabilities based on the role that is being requested.


Description Description


Parameters Parameters

$caps

Array of capabilities to return.

$role

The role currently being loaded.


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.