bp_message_thread_total_and_unread_count( int|bool $thread_id = false )

Output markup for the current thread’s total and unread count.

Description

Parameters

$thread_id

(Optional) ID of the thread. Default: current thread ID.

Default value: false

Source

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

function bp_message_thread_total_and_unread_count( $thread_id = false ) {
	echo bp_get_message_thread_total_and_unread_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.