[buddypress-trac] [BuddyPress Trac] #6629: Accept array for the parameter item_id for bp_activity_add() function

buddypress-trac noreply at wordpress.org
Mon Sep 21 14:19:47 UTC 2015


#6629: Accept array for the parameter  item_id for bp_activity_add() function
-------------------------+----------------------
 Reporter:  Tafmakura    |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  API          |     Version:
 Severity:  normal       |  Resolution:  wontfix
 Keywords:               |
-------------------------+----------------------

Comment (by boonebgorges):

 Glad to hear it worked!

 Storing as an array is fine. The only potential limitation is if you later
 want to make the following query: "show me all activity items associated
 with WP post 123" (like I showed in my 'meta_query' example). This won't
 work if each post doesn't have its own row in the activitymeta table.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6629#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list