Get Buddypress Profile Data in WordPress Page
I am new to buddy press. Currently I am working in a site which consists of Directory Press + S2Member + BuddyPress. My aim is to retrieve the value from buddypress profile fields on profile activation. Everything went fine till try to get the data from the profile field in buddy press
When I searched the documentation says us to use the function `bp_profile_field_data`
The following code works fine in the file profile-loop.php
`bp_member_profile_data( ‘field=Company Name’ )`
But when I use the same code in functions.php it shows blank
You must be logged in to reply to this topic.