function hook_privatemsg_message_status_changed in Privatemsg 7
Same name and namespace in other branches
- 6.2 privatemsg.api.php \hook_privatemsg_message_status_changed()
- 7.2 privatemsg.api.php \hook_privatemsg_message_status_changed()
Allows response to a status change.
Parameters
$pmid: Message id.
$status: Either PRIVATEMSG_READ or PRIVATEMSG_UNREAD.
$account: User object, defaults to the current user.
See also
privatemsg_message_change_status()
Related topics
2 invocations of hook_privatemsg_message_status_changed()
- privatemsg_message_change_status in ./
privatemsg.module - Changes the read/new status of a single message.
- privatemsg_thread_change_status in ./
privatemsg.module - Marks one or multiple threads as (un)read.
File
- ./
privatemsg.api.php, line 391 - Privatemsg API Documentation
Code
function hook_privatemsg_message_status_changed($pmid, $status, $account) {
}