Warning: This function has been deprecated.

bp_remove_roles()

Removes BuddyPress-specific user roles.


Description Description

This is called on plugin deactivation.


Source 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', 'buddypress' ), '1.7' );
}

Top ↑

Changelog Changelog

Changelog
Version Description
1.7.0 This function has been deprecated.
1.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.