bp_get_message_thread_avatar

  • apply_filters( 'bp_get_message_thread_avatar', bp_core_fetch_avatar( array( 'item_id' => $messages_template->thread->last_sender_id, 'type' => 'thumb' ) ) )

    Source Reference:

    • Component: BuddyPress :: bp-messages
      File: /bp-messages/bp-messages-template.php :: Trac Source Line: 311
      		return apply_filters( 'bp_get_message_thread_last_post_date', bp_format_time( strtotime( $messages_template->thread->last_message_date ) ) );
      	}
      
      function bp_message_thread_avatar() {
      	echo bp_get_message_thread_avatar();
      }
      	function bp_get_message_thread_avatar() {
      		global $messages_template, $bp;
      
      		return apply_filters( 'bp_get_message_thread_avatar', bp_core_fetch_avatar( array( 'item_id' => $messages_template->thread->last_sender_id, 'type' => 'thumb' ) ) );
      	}
      
      function bp_message_thread_view() {
      	global $thread_id;
      
      	messages_view_thread($thread_id);
      }
      
      function bp_total_unread_messages_count() {
      	echo bp_get_total_unread_messages_count();
      

Comments are closed.