bp_ps_Fields::get_filters( $f )
Description
Source
File: bp-core/profile-search/bps-fields.php
public static function get_filters ($f) { $labels = array ( 'contains' => __('contains', 'buddyboss'), '' => __('is', 'buddyboss'), 'like' => __('is like', 'buddyboss'), 'range' => __('range', 'buddyboss'), 'date_range' => __('date range', 'buddyboss'), 'distance' => __('distance', 'buddyboss'), 'one_of' => __('is one of', 'buddyboss'), 'match_any' => __('match any', 'buddyboss'), 'match_all' => __('match all', 'buddyboss'), ); $filters = array (); foreach ($f->filters as $filter) $filters[$filter] = $labels[$filter]; return $filters; }
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.