Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to access bp profile data


  • Decisionc
    Participant

    @decisionc

    How do I access the users profile info using php? Where is the profile data stored?

    Is it stored in $bp?

    I am talking about data they entered in the profile fields I created. Thanks!!

Viewing 2 replies - 1 through 2 (of 2 total)

  • John James Jacoby
    Keymaster

    @johnjamesjacoby

    In your code, you can do something like…

    echo bp_get_field_data('Field Name', $user['id']);

    Where “Field Name” is the name of your custom field. Turn that into a variable or what not.


    Decisionc
    Participant

    @decisionc

    Thanks johnjamesjacoby! That fixed my problem

    Quick Question. What is the function to edit an extended profile field name?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to access bp profile data’ is closed to new replies.
Skip to toolbar