- Timestamp:
- 09/12/2021 08:43:39 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-notifications/bp-notifications-functions.php
r13091 r13108 34 34 function bp_notifications_add_notification( $args = array() ) { 35 35 36 $r = bp_parse_args( $args, array( 37 'user_id' => 0, 38 'item_id' => 0, 39 'secondary_item_id' => 0, 40 'component_name' => '', 41 'component_action' => '', 42 'date_notified' => bp_core_current_time(), 43 'is_new' => 1, 44 'allow_duplicate' => false, 45 ), 'notifications_add_notification' ); 36 $r = bp_parse_args( 37 $args, 38 array( 39 'user_id' => 0, 40 'item_id' => 0, 41 'secondary_item_id' => 0, 42 'component_name' => '', 43 'component_action' => '', 44 'date_notified' => bp_core_current_time(), 45 'is_new' => 1, 46 'allow_duplicate' => false, 47 ), 48 'notifications_add_notification' 49 ); 46 50 47 51 // Check for existing duplicate notifications.
Note: See TracChangeset
for help on using the changeset viewer.