do_action( 'messages_before_delete_thread', int|array $thread_ids, int $user_id )

Fires before specified thread IDs have been deleted.

Parameters Parameters


(int|array) Thread ID or array of thread IDs to be deleted.


(int) ID of the user the threads are being deleted for.

Source Source

File: bp-messages/bp-messages-functions.php

View on Trac

Top ↑

Changelog Changelog

Version Description
2.7.0 The $user_id parameter was added.
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.