[buddypress-trac] [BuddyPress] #3521: Activity results that incorporate activity_meta and others

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Sep 25 16:19:30 UTC 2012


#3521: Activity results that incorporate activity_meta and others
-------------------------+-----------------------
 Reporter:  sboisvert    |       Owner:
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  1.5
Component:  Activity     |     Version:
 Severity:  minor        |  Resolution:
 Keywords:  close        |
-------------------------+-----------------------
Changes (by ericlewis):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Replying to [comment:4 boonebgorges]:
 > I am wary of littering these classes with additional filters.

 Thoughts on building an activity_meta_query option into the API? I'm
 imagining something that's a replication of meta_query in WP_Query, but
 for BP activity.

 {{{
 $activity = bp_activity_get( array( array( 'key' => 'key_name', 'value' =>
 'value', 'compare' => '=' ) );

 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3521#comment:8>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list