do_action( 'bp_messages_thread_before_mark_delete', int $thread_id, int $user_id )

Fires before a message thread is marked as deleted.


Parameters 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 Source

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

View on Trac



Top ↑

Changelog 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.