do_action( 'messages_before_delete_thread', int|array $thread_ids , int $user_id )
Fires before specified thread IDs have been deleted.
Description
Parameters
- $thread_ids
-
Thread ID or array of thread IDs to be deleted.
- $user_id
-
ID of the user the threads are 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 1.5.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.