messages_mark_thread_read( int $thread_id )

Mark a thread as read.


Description Description

Wrapper for BP_Messages_Thread::mark_as_read().


Parameters Parameters

$thread_id

(Required) ID of the thread.


Top ↑

Return Return

(false|int) Number of threads marked as read or false on error.


Top ↑

Source Source

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

function messages_mark_thread_read( $thread_id ) {
	return BP_Messages_Thread::mark_as_read( $thread_id );
}

Top ↑

User Contributed Notes User Contributed Notes

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