[buddypress-trac] [BuddyPress] #2078: Filter: Create a "bp_activity_can_favorite"?

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Fri Nov 12 14:58:25 UTC 2010


#2078: Filter: Create a "bp_activity_can_favorite"?
-------------------------+--------------------------------------------------
 Reporter:  nuprn1       |       Owner:     
     Type:  enhancement  |      Status:  new
 Priority:  minor        |   Milestone:  1.3
Component:  Core         |     Version:     
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by boonebgorges):

  * component:  => Core


Comment:

 Yay! Filters for everyone!

 I'm adding a very barebones apply_filters(). In your custom filter
 function, call up $activities_template and fish through
 $activities_template->activity to allow or disallow favoriting as you'd
 like.

-- 
Ticket URL: <https://trac.buddypress.org/ticket/2078#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list