Please help me with creating notifications
-
Hello everyone,
As I understand it, I have to use the following function to send a notification:
`function bp_core_add_notification( $item_id, $user_id, $component_name, $component_action, $secondary_item_id = false, $date_notified = false )`
My question is: What is $item_id ? I looked at other plugins and some use it to send in the sender’s user id and some treat it as an unique id for the the notification. What is the proper way to use it?
- The topic ‘Please help me with creating notifications’ is closed to new replies.