[buddypress-trac] [BuddyPress] #1699: add filters to the queries of function get_users()

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Feb 4 20:39:10 UTC 2010


#1699: add filters to the queries of function get_users()
------------------------+---------------------------------------------------
Reporter:  grosbouff    |       Owner:       
    Type:  enhancement  |      Status:  new  
Priority:  major        |   Milestone:  1.2.1
Keywords:               |  
------------------------+---------------------------------------------------

Comment(by grosbouff):

 I thought a little about this and i think that the good solution would be
 to filter an array with the field names & field values to check.

 $datas_to_get =
 apply_filters('bp_core_xprofile_fields_to_get',array([1]=>'%%admin%%'));

 or something like this...

-- 
Ticket URL: <http://trac.buddypress.org/ticket/1699#comment:7>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list