Converts jpg and png images to webp on upload and hooks into post_thumbnail_html
to output a picture
tag with the new format
Also deletes webp versions when image is deleted through media Library
Filter to hook into the_content
for images uploaded directly into posts.
Requires rosell-dk/webp-convert
composer require rosell-dk/webp-convert