bp_get_the_thread_message_sender_avatar_thumb

  • 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 ) ) )

    Source Reference:

    • Component: BuddyPress :: bp-messages
      File: /bp-messages/bp-messages-template.php :: Trac Source Line: 819
      		$defaults = array(
      			'type' => 'thumb',
      			'width' => false,
      			'height' => false,
      		);
      
      		$r = wp_parse_args( $args, $defaults );
      		extract( $r, EXTR_SKIP );
      
      		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 ) );
      	}
      

Comments are closed.