messages_thread_get_total_message_count

messages_thread_get_total_message_count

Hook Type: filter

See hook in core

Displaying hooks found in version: buddypress.12.3.0

apply_filters('messages_thread_get_total_message_count') is found 1 times:

  • /bp-messages/classes/class-bp-messages-thread.php line 1043
    		 *
    		 * @param integer $total_count Total thread messages count.
    		 * @param integer $thread_id   ID of the thread.
    		 */
    		return (int) apply_filters( 'messages_thread_get_total_message_count', $total_count, (int) $thread_id );
    	}
    
    	/**
    	 * Determine if the logged-in user is a sender of any message in a thread.
    	 *
    	 * @since 1.0.0