apply_filters( 'bp_get_current_blog_roles', array $roles , WP_Roles $wp_roles )
Filters the array of roles from the currently loaded blog.
Description
Parameters
- $roles
-
Available roles.
- $wp_roles
-
Object of WordPress roles.
Source
File: bp-core/bp-core-caps.php
Changelog
Version | Description |
---|---|
BuddyPress 2.1.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.