[buddypress-trac] [BuddyPress Trac] #8504: Introduce a new function to get a list of activity type labels keyed by their type names

buddypress-trac noreply at wordpress.org
Thu Jul 8 13:23:33 UTC 2021


#8504: Introduce a new function to get a list of activity type labels keyed by
their type names
--------------------------+---------------------
 Reporter:  imath         |       Owner:  imath
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  9.0.0
Component:  Activity      |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by imath):

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


Comment:

 In [changeset:"12987" 12987]:
 {{{
 #!CommitTicketReference repository="" revision="12987"
 Introduce a new function to get a list of type labels keyed by names

 `bp_activity_get_types_list()` returns an array of activity type labels
 keyed by activity type names. It satisfies a need which appeared working
 on a new Activity BP Block.

 Fixes #8504
 }}}

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


More information about the buddypress-trac mailing list