So I would like to implement webp to a website.
Currently im using get_the_post_thumbnail()
function to get the post featured image.
Is there a way to get the webp version of the image using this function.
I have tried using the wp-webp plugin but it does not work.
Cheers
Ok the only way I can think of getting around this problem is to check the broswer and serve up a .webp image if the browser supports it by replacing the file extention with .webp