[buddypress-trac] [BuddyPress Trac] #8293: Add filter to allow manipulation of recipients in message thread

buddypress-trac noreply at wordpress.org
Thu May 7 12:41:38 UTC 2020


#8293: Add filter to allow manipulation of recipients in message thread
----------------------------+------------------------------
 Reporter:  mangopeargroup  |       Owner:  (none)
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Messages        |     Version:  5.2.0
 Severity:  trivial         |  Resolution:
 Keywords:                  |
----------------------------+------------------------------

Comment (by mangopeargroup):

 Whoops! Wrong filter format. Below is the correct format (I've tested it
 and it works).

 **buddypress/bp-templates/bp-nouveau/includes/ajax.php**
 Line 460

 {{{#!php
 $thread->thread['recipients'] = apply_filters(
 'bp_get_user_message_thread_recipients', $thread->thread['recipients'] );
 }}}

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


More information about the buddypress-trac mailing list