[buddypress-trac] [BuddyPress Trac] #6661: bp_activity_comment_posted hook documentation

buddypress-trac noreply at wordpress.org
Tue Oct 13 19:54:07 UTC 2015

#6661: bp_activity_comment_posted hook documentation
 Reporter:  henry.wright                |      Owner:
     Type:  task                        |     Status:  new
 Priority:  low                         |  Milestone:  Awaiting Review
Component:  Tools - Code Documentation  |    Version:  2.3.3
 Severity:  minor                       |   Keywords:
          * Fires near the end of an activity comment posting, before the
 returning of the comment ID.
          * @since 1.2.0
          * @param int   $comment_id ID of the newly posted activity
          * @param array $r          Array of parsed comment arguments.
          * @param int   $activity   ID of the activity item being
 commented on.
         do_action( 'bp_activity_comment_posted', $comment_id, $r,
 $activity );

 The docs mentions {{{$activity}}} is type {{{int}}} but it's actually an
 object of type {{{BP_Activity_Activity}}}

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6661>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list