messages_is_valid_thread( int $thread_id )
Check whether a message thread exists.
Description
Parameters
- $thread_id
-
(Required) ID of the thread.
Return
(false|int|null) The message thread ID on success, null on failure.
Source
File: bp-messages/bp-messages-functions.php
function messages_is_valid_thread( $thread_id ) { return BP_Messages_Thread::is_valid( $thread_id ); }
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.