bp_ps_is_filter( $filter, $f )
Check if request is a valid filter.
Description
Source
File: bp-core/profile-search/bps-fields.php
function bp_ps_is_filter ($filter, $f) { if ($filter == 'range_min' || $filter == 'range_max') $filter = 'range'; if ($filter == 'date_range_min' || $filter == 'date_range_max') $filter = 'date_range'; if ($filter == 'label') return true; return bp_ps_Fields::is_filter ($f, $filter); }
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.