Zend certified PHP/Magento developer

Magento 2 How to write plugin for getImageHtmlDeclaration function

This is the original path – vendor/magento/module-cms/Helper/Wysiwyg/Images.php

I want to put a plugin for this function getImageHtmlDeclaration()
I want to pass different HTML tag

if (!$renderAsTag) {
$src = $this->isUsingStaticUrlsAllowed() ? $fileUrl : $this->escaper->escapeHtml($directive);
$html = sprintf('<img class="hello" src="%s" alt="" />', $src);

}