Skip to:
Content
Pages
Categories
Search
Top
Bottom

xprofile_get_field_data() to get data for multiple users

  • Avatar of coolstory
    coolstory
    Member

    @coolstory

    I am looking at

    function xprofile_get_field_data( $field, $user_id = 0, $multi_format = ‘array’ ) { …

    so I need to get some field data for several users at once. I can always call this function as many times as possible within a loop every time changing the value of $user_id, but is there any way do it at once for many users?

You must be logged in to reply to this topic.