bp_the_thread_id() Output the ID of the thread that the current loop belongs to. ContentsDescription Source User Contributed Notes Description #Description Source #Source File: bp-messages/bp-messages-template.php function bp_the_thread_id() { echo (int) bp_get_the_thread_id(); } Expand full source code Collapse full source code Top ↑User Contributed Notes #User Contributed Notes You must log in before being able to contribute a note or feedback.