BuddyDev

Search

How can I get xprofile fields to display in another page

Tagged: 

  • Inactive
    Level: Enlightened
    Posts: 28
    Kikismedia on #31630

    I’m creating a custom page and I want to display the user buddypress info there like phone number ,how can I achieve this

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #31637

    Hi,
    Thank you for the question.
    You can use the function xprofile_get_field_data() for fetching the details of a user.

    Regards
    Brajesh

  • Inactive
    Level: Enlightened
    Posts: 28
    Kikismedia on #31652

    Will I have to add user id , give me an example ,let’s say I want to display phone number profile field

  • Keymaster
    (BuddyDev Team)
    Posts: 24706

You must be logged in to reply to this topic.

This topic is: not resolved