bp_the_thread_id()

Output the ID of the thread that the current loop belongs to.

Description

Source

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

function bp_the_thread_id() {
	echo (int) bp_get_the_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.