messages_is_valid_thread( int $thread_id )

Check whether a message thread exists.


Description Description


Parameters Parameters

$thread_id

(Required) ID of the thread.


Top ↑

Return Return

(false|int|null) The message thread ID on success, null on failure.


Top ↑

Source Source

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

function messages_is_valid_thread( $thread_id ) {
	return BP_Messages_Thread::is_valid( $thread_id );
}

Top ↑

User Contributed Notes User Contributed Notes

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