bp_total_unread_messages_count( int $user_id )

Output the unread messages count for the current inbox.


Parameters Parameters

$user_id

(int) (Required) The user ID.


Top ↑

Return Return

(int) $unread_count Total inbox unread count for user.


Source Source

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

function bp_total_unread_messages_count( $user_id = 0 ) {
	echo bp_get_total_unread_messages_count( $user_id );
}


Top ↑

Changelog Changelog

Changelog
Version Description
2.6.x Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.