Using xProfile custom field values
I want to use them separately. So say I have an address field, I want to call current user’s address only, so I can use it in, for example, the members directory.
Tried this code :
global $bp; $ud = get_userdata( $bp->displayed_user->id ); echo $ud->Address;
No go though. Any thoughts fellow developers? I dont want to have to write a custom plugin for functionality that should already exist.
Noiticed this function in the xprofile folder:
It must help me somehow, but how do I use it if it has no variables?
- The topic ‘Using xProfile custom field values’ is closed to new replies.