Skip to:
Content

BuddyPress.org

Changes between Version 1 and Version 2 of Ticket #7020, comment 1


Ignore:
Timestamp:
04/15/2016 10:11:18 PM (9 years ago)
Author:
r-a-y
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7020, comment 1

    v1 v2  
    1 Related: comment:8:ticket:6669, #bbPress2665.
     1Related: #6669, #bbPress2665.
    22
    3 The `'bp_notifications_get_notifications_for_user'` filter is quite weird indeed.  You either have to return a string of the content or `array( 'text' => 'CONTENT', 'link' => 'LINK' )` depending on the `$format`.  I think this needs better documentation.
     3The `'bp_notifications_get_notifications_for_user'` filter is quite weird indeed.  You either have to return a string of the content or `array( 'text' => 'CONTENT', 'link' => 'LINK' )` depending on the `$format`.
     4
     5comment:8:ticket:6669 goes into the problem as well.
     6
     7I think this needs better documentation.
    48
    59Since this filter was introduced in BP 1.9, I'm not sure if we can make this filter any better since other plugins are already using it such as bbPress.