How this code works.?
-
hi.
i hope you can help me. i want to know how this code works.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');
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How this code works.?’ is closed to new replies.