@rogercoathup
14 years, 7 months ago
Use messages_get_unread_count()
e.g.:
http://pastebin.com/KcVRV10z