How to get Sender and Receiver's ID in hook?
-
Whenever a new message or reply is made, i want to send the $senderID & $receiverID to my notification script.
Can someone please help me with this code.
add_action( 'fep_after_send_new_message', 'Notification_new_message' ); add_action( 'fep_after_send_new_reply', 'Notification_new_message' ); function Notification_new_message($SenderID, $ReceiverID){ $SenderID = ????????; $ReceiverID = ????????; }
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to get Sender and Receiver's ID in hook?’ is closed to new replies.