bp_ps_match_key( $key, $fields )
Check if BuddyBoss profile search field matches key.
Description
Source
File: bp-core/profile-search/bps-fields.php
function bp_ps_match_key ($key, $fields)
{
foreach ($fields as $k => $f)
if ($key == $f->code || strpos ($key, $f->code. '_') === 0) return $k;
return false;
}
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.