bp_get_message_thread_unread_count

  • apply_filters( 'bp_get_message_thread_unread_count', $messages_template->thread->unread_count )

    Source Reference:

    • Component: BuddyPress :: bp-messages
      File: /bp-messages/bp-messages-template.php :: Trac Source Line: 291
      }
      
      function bp_message_thread_unread_count() {
      	echo bp_get_message_thread_unread_count();
      }
      	function bp_get_message_thread_unread_count() {
      		global $messages_template;
      
      		if ( (int)$messages_template->thread->unread_count )
      			return apply_filters( 'bp_get_message_thread_unread_count', $messages_template->thread->unread_count );
      
      		return false;
      	}
      
      function bp_message_thread_last_post_date() {
      	echo bp_get_message_thread_last_post_date();
      }
      	function bp_get_message_thread_last_post_date() {
      		global $messages_template;
      

Comments are closed.