This function has been deprecated. since version 2.2 instead.

bbp_add_roles()

Adds Forums-specific user roles.

Description

Source

File: bp-forums/core/capabilities.php

function bbp_add_roles() {
	_doing_it_wrong( 'bbp_add_roles', __( 'Editable forum roles no longer exist.', 'buddyboss' ), '2.2' );
}

Changelog

Changelog
Version Description
bbPress (r2741) 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.