bp_get_message_thread_from()
Get a link to the page of the current thread’s last author.
Description
Return
(string)
Source
File: bp-messages/bp-messages-template.php
function bp_get_message_thread_from() {
global $messages_template;
/**
* Filters the link to the page of the current thread's last author.
*
* @since BuddyPress 1.0.0
*
* @param string $value Link to the page of the current thread's last author.
*/
return apply_filters( 'bp_get_message_thread_from', bp_core_get_userlink( $messages_template->thread->last_sender_id ) );
}
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.