bp_ps_directory_members_item()
Out BuddyBoss Profile Search field value template.
Description
Source
File: bp-core/profile-search/bps-directory.php
function bp_ps_directory_members_item () { global $members_template; $code = $members_template->type; if ($code[0] == '-') $code = substr ($code, 1); list (, $fields) = bp_ps_get_fields (); if (isset ($fields[$code]->get_value) && is_callable ($fields[$code]->get_value)) { $f = $fields[$code]; $name = $f->name; $value = call_user_func ($f->get_value, $f); bp_ps_call_template ('members/bps-field-value', array ($name, $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.