do_action( 'bp_messages_thread_after_delete', int $thread_id, array $message_ids, int $user_id )

Fires after a message thread is either marked as deleted or deleted.

Parameters Parameters


(int) ID of the thread being deleted.


(array) IDs of messages being deleted.


(int) ID of the user the threads were deleted for.

Source Source

File: bp-messages/classes/class-bp-messages-thread.php

View on Trac

Top ↑

Changelog Changelog

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

Top ↑

User Contributed Notes User Contributed Notes

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