Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to get total private message count?

  • Avatar of Henry
    Henry
    Participant

    @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)
  • Avatar of Henry
    Henry
    Participant

    @henrywright-1

    Got it, if anyone ever needs this:

    
    global $messages_template;
    $total = $messages_template->total_thread_count;
    
Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.