bp_ps_Fields::valid_filter( $f, $filter )
Description
Source
File: bp-core/profile-search/bps-fields.php
125 126 127 128 | public static function valid_filter ( $f , $filter ) { return in_array ( $filter , $f ->filters)? $filter : $f ->filters[0]; } |
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.