bp_get_the_thread_message_sender_link

  • apply_filters( 'bp_get_the_thread_message_sender_link', bp_core_get_userlink( $thread_template->message->sender_id, false, true ) )

    Source Reference:

    • Component: BuddyPress :: bp-messages
      File: /bp-messages/bp-messages-template.php :: Trac Source Line: 828
      		return apply_filters( 'bp_get_the_thread_message_sender_avatar_thumb', bp_core_fetch_avatar( array( 'item_id' => $thread_template->message->sender_id, 'type' => $type, 'width' => $width, 'height' => $height ) ) );
      	}
      
      function bp_the_thread_message_sender_link() {
      	echo bp_get_the_thread_message_sender_link();
      }
      	function bp_get_the_thread_message_sender_link() {
      		global $thread_template;
      
      		return apply_filters( 'bp_get_the_thread_message_sender_link', bp_core_get_userlink( $thread_template->message->sender_id, false, true ) );
      	}
      
      function bp_the_thread_message_sender_name() {
      	echo bp_get_the_thread_message_sender_name();
      }
      	function bp_get_the_thread_message_sender_name() {
      		global $thread_template;
      
      		return apply_filters( 'bp_get_the_thread_message_sender_name', bp_core_get_user_displayname( $thread_template->message->sender_id ) );
      	}
      

Comments are closed.