bp_ps_xprofile_get_value( $f )
Return xprofile value from BuddyBoss Profile Search Extended field.
Description
Source
File: bp-core/profile-search/bps-xprofile.php
function bp_ps_xprofile_get_value ($f)
{
global $members_template;
if ($members_template->current_member == 0)
{
$users = wp_list_pluck ($members_template->members, 'ID');
BP_XProfile_ProfileData::get_value_byid ($f->id, $users);
}
$value = BP_XProfile_ProfileData::get_value_byid ($f->id, $members_template->member->ID);
return stripslashes ($value);
}
Changelog
| Version | Description |
|---|---|
| BuddyBoss 1.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.