bbp_get_user_role_map

bbp_get_user_role_map

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_get_user_role_map') is found 1 times:

  • /includes/users/capabilities.php line 432
    	// Get the default role once here
    	$default_role = bbp_get_default_role();
    
    	// Filter & return
    	return (array) apply_filters( 'bbp_get_user_role_map', array(
    		'administrator' => bbp_get_keymaster_role(),
    		'editor'        => $default_role,
    		'author'        => $default_role,
    		'contributor'   => $default_role,
    		'subscriber'    => $default_role
    	) );