Loads bbPress users admin area

package bbPress
subpackage Administration
since 2.0.0 bbPress (r2464)

 Methods

The bbPress users admin loader

__construct() 
since 2.0.0 bbPress (r2515)

Default interface for setting a forum role

secondary_role_display(\WP_User $profileuser) : boolean
Static
since 2.2.0 bbPress (r4285)

Parameters

$profileuser

\WP_User

User data

Returns

booleanAlways false

Setup the admin hooks, actions and filters

setup_actions() 
since 2.0.0 bbPress (r2646)
access private

Process bulk dropdown form submission from the WordPress Users Table

user_role_bulk_change() : boolean
since 2.2.0 bbPress (r4365)

Returns

booleanAlways false

Add bulk forums role dropdown to the WordPress users table

user_role_bulk_dropdown(string $which) 
Static
since 2.2.0 bbPress (r4360)
since 2.6.0 bbPress (r6055) Introduced the `$which` parameter.

Parameters

$which

string

The location of the extra table nav markup: 'top' or 'bottom'.

Add Forum Role column to the WordPress Users table, and change the core role title to "Site Role"

user_role_column(array $columns = array()) : array
Static
since 2.2.0 bbPress (r4337)

Parameters

$columns

array

Users table columns

Returns

array$columns

Filter the list of roles included in the WordPress site role list

user_role_list_filter($roles, $user) : array
Static

Ensures forum roles are only displayed under the Forum Role list in the WordPress Users list table

since 2.6.0 bbPress (r6051)

Parameters

$roles

$user

Returns

array$roles

Return user's forums role for display in the WordPress Users list table

user_role_row(string $retval = '', string $column_name = '', integer $user_id = 0) : string
Static
since 2.2.0 bbPress (r4337)

Parameters

$retval

string

$column_name

string

$user_id

integer

Returns

stringDisplayable bbPress user role

Add a "View" link for each user

user_row_actions(array $actions = array(), \WP_User $user = false) : array
since 2.6.0 bbPress (r6502)

Parameters

$actions

array

$user

\WP_User

Returns

arrayActions with 'view' link added to them