Buddypress Messaging Functions

Resources https://github.com/buddypress/BuddyPress/blob/master/src/bp-messages/bp-messages-functions.php Functions Create a new message messages_new_message() Send a notice messages_send_notice() Delete all message threads for a user messages_delete_thread() Does user have access to a thread messages_check_thread_access() Mark a thread as read messages_mark_thread_read() Mark a thread as unread messages_mark_thread_unread() Get unread messages count for user messages_get_unread_count() Is user the sender of a message messages_is_user_sender()

Read More