bp_get_the_thread_message_sender_link()

Get a link to the sender of the current message.

Description

Return

(string)

Source

File: bp-messages/bp-messages-template.php

2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
function bp_get_the_thread_message_sender_link() {
    global $thread_template;
 
    /**
     * Filters the link to the sender of the current message.
     *
     * @since BuddyPress 1.1.0
     *
     * @param string $value Link to the sender of the current message.
     */
    return apply_filters( 'bp_get_the_thread_message_sender_link', bp_core_get_userlink( $thread_template->message->sender_id, false, true ) );
}

Changelog

Changelog
Version Description
BuddyPress 1.1.0 Introduced.

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.