Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to get total private message count?


  • Henry
    Member

    @henrywright-1

    How can I get the total private message count for

    • sent messages
    • received messages

    Any help would be much appreciated.

Viewing 1 replies (of 1 total)

  • Henry
    Member

    @henrywright-1

    Got it, if anyone ever needs this:

    
    global $messages_template;
    $total = $messages_template->total_thread_count;
    
Viewing 1 replies (of 1 total)
  • The topic ‘How to get total private message count?’ is closed to new replies.
Skip to toolbar