do_action( 'bp_messages_thread_before_mark_delete', int $thread_id , int $user_id )
Fires before a message thread is marked as deleted.
Description
Parameters
- $thread_id
-
(int) ID of the thread being deleted.
- $user_id
-
(int) ID of the user that the thread is being deleted for.
Source
Changelog
Version | Description |
---|---|
BuddyPress 2.7.0 The $user_id parameter was added. | BuddyPress 2.7.0 The $user_id parameter was added. |
BuddyPress 2.2.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.