This function has been deprecated.
bp_remove_roles()
Removes BuddyPress-specific user roles.
Description
This is called on plugin deactivation.
Source
File: bp-core/bp-core-caps.php
function bp_remove_roles() { _doing_it_wrong( 'bp_remove_roles', __( 'Special community roles no longer exist. Use mapped capabilities instead', 'buddyboss' ), '1.7' ); }
Changelog
Version | Description |
---|---|
BuddyPress 1.6.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.