This function has been deprecated.

bp_add_roles()

Adds BuddyPress-specific user roles.

Description

This is called on plugin activation.

Source

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

function bp_add_roles() {
	_doing_it_wrong( 'bp_add_roles', __( 'Special community roles no longer exist. Use mapped capabilities instead', 'buddyboss' ), '1.7' );
}

Changelog

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.