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

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


Parameters Parameters

$caps

(array) Array of capabilities to return.

$role

(string) The role currently being loaded.


Source Source

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

View on Trac



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.