messages_thread_get_latest_message

messages_thread_get_latest_message

Hook Type: filter

See hook in core

Displaying hooks found in version: buddypress.12.3.0

apply_filters('messages_thread_get_latest_message') is found 1 times:

  • /bp-messages/classes/class-bp-messages-thread.php line 482
    		 *
    		 * @param object|null $message   Latest thread message or null.
    		 * @param integer     $thread_id ID of the thread.
    		 */
    		return apply_filters( 'messages_thread_get_latest_message', $message, $thread_id );
    	}
    
    	/**
    	 * Static method to get message recipients by thread ID.
    	 *
    	 * @since 2.3.0