Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: is it possible know if the receiver read the message?

@anth0ny167

Participant

Bruce you can use this code in your functions.php

function get_id_of_last_message_current_thread() {
  $thread = new BP_Messages_Thread( bp_get_the_thread_id() );
  end($thread->messages)->id;
}
add_action('bp_after_message_thread_content', 'get_id_of_last_message_current_thread');
Skip to toolbar