Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove Site Role and Forum Role from admin user listing.


  • deadlyhifi
    Participant

    @tomdebruin

    I’ve tried the usual in my functions.php file and from my plugin but the columns aren’t being removed. Perhaps bbPress is loading after that function has run and therefore they’re not being unset?
    `function edit_admin_columns($columns = array())
    {
    unset($columns[‘role’]);
    unset($columns[‘bbp_user_role’]);
    return $columns;
    }
    add_filter(‘manage_users_columns’, ‘edit_admin_columns’);
    `

    Anyone know how to do this?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar