This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

BBP_Users_Admin::setup_actions()

Setup the admin hooks, actions and filters

Description

Source

File: bp-forums/admin/users.php

	function setup_actions() {

		// Bail if in network admin
		if ( is_network_admin() )
			return;

		// Remove bbp secondary role
		add_filter( 'get_role_list', array( $this, 'remove_forum_roles' ), 15, 2 );
	}

Changelog

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