How to overwrite comment HTML template?

How to overwrite comment HTML template?

by Mariusz Mit -
Number of replies: 1

How to customize comment HTML template without touching core files? I found pluginname_comment_template here https://docs.moodle.org/dev/Comment_API but I'm not sure how to use it. Tried

class pluginname_comment_template extends comment_template {

}

but it's not working. I want to incease avatar size. It's defined in public function get_comments inside the comment class but is it possible to overwrite it in the theme folder?

Average of ratings: -