Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to view Custom Columns (extended profiles field) in Admin users view?

  • Hi to everyone,
    I’m new with buddypress, so i would show some columns in the admin user view (/wp-admin/users.php).
    I’ve created 2 custom field in extended profiles (/wp-admin/users.php?page=bp-profile-setup) so i would insert this 2 custom field in the panel where the admin can edit/view all users (about 30 members).
    The two custom fields are numerical, so the user can update manually this value.
    Please could you tell me how i can make this?
    Thanks a lot
    Kind regards

    Note: Sorry, my english is not so good

Viewing 3 replies - 1 through 3 (of 3 total)
  • please anyone can help me?


    danbp
    Participant

    @danbp

    Hi,

    this will be a custom work on your site admin and concerns principaly wordPress.
    Read here how to do add a custom column on user’s list.

    Here the function reference you’ll need to use.

    Something like this you have to add to bp-custom.php or your child-theme functions.php

    function andrea_columns( $output, $column_name, $user_id ) {
    
    /* do something*/
    
    }
    add_action( 'manage_users_custom_column', 'andrea_columns', 10, 3 );

    Thanks a lot for your precious answer!
    I’ll try to study this documentations
    Thanks again!

    (if i have success, i’ll write here “how” ;))

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to view Custom Columns (extended profiles field) in Admin users view?’ is closed to new replies.
Skip to toolbar