messages_mark_thread_read( int $thread_id )

Mark a thread as read.


Description Description

Wrapper for BP_Messages_Thread::mark_as_read().


Top ↑

Parameters Parameters

$thread_id

(int) (Required) ID of the thread.


Top ↑

Return Return

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


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.