[buddypress-trac] [BuddyPress Trac] #5839: BP_XProfile_Query - filtering user query results by xprofile field matches
buddypress-trac
noreply at wordpress.org
Tue Nov 25 16:40:27 UTC 2014
#5839: BP_XProfile_Query - filtering user query results by xprofile field matches
--------------------------+---------------------------
Reporter: boonebgorges | Owner: boonebgorges
Type: enhancement | Status: assigned
Priority: normal | Milestone: 2.2
Component: XProfile | Version:
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+---------------------------
Comment (by boonebgorges):
In [changeset:"9178"]:
{{{
#!CommitTicketReference repository="" revision="9178"
Introduce `BP_XProfile_Query`.
Based on `WP_Meta_Query`, `BP_XProfile_Query` is a helper class for
generating
queries against users' XProfile data. It allows developers to filter user
queries to those users who have profile data matching a wide range of
comparisons, from simple equality ("city=Chicago") to complex combinations
of
various comparison operators.
An `'xprofile_query'` argument has been introduced to `BP_User_Query` to
support use of `BP_XProfile_Query` inside of `bp_has_members()` loops.
See #5839.
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5839#comment:14>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list