bp_message_thread_total_count( int|bool $thread_id = false )

Output a thread’s total message count.

Description

Parameters

$thread_id

(int|bool) (Optional) ID of the thread. Defaults to current thread ID.

Default value: false

Source

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

function bp_message_thread_total_count( $thread_id = false ) {
	echo bp_get_message_thread_total_count( $thread_id );
}

Changelog

Changelog
Version Description
BuddyPress 2.2.0 Introduced.

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.