Changeset 12308
- Timestamp:
- 12/03/2018 09:15:10 PM (6 years ago)
- Location:
- branches/4.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.0
-
branches/4.0/src/bp-notifications/bp-notifications-functions.php
r12306 r12308 842 842 $content = call_user_func( buddypress()->{$component_name}->notification_callback, $notification->component_action, $notification->item_id, $notification->secondary_item_id, 1, 'string', $notification->id ); 843 843 } else { 844 // The array to reference with apply_filters_ref_array(). 844 /* 845 * Compile an array of data to send to filter. 846 * 847 * Note that a null value is passed in the slot filled by `total_count` in 848 * other filter contexts. We don't have enough info here to pass a `total_count`. 849 */ 845 850 $ref_array = array( 846 851 $notification->component_action, 847 852 $notification->item_id, 848 853 $notification->secondary_item_id, 849 $notification->total_count,854 null, 850 855 'string', 851 856 $notification->component_action,
Note: See TracChangeset
for help on using the changeset viewer.