Codes to enable WebP uploads on WordPress

WordPress, by default, doesn’t allow you to upload WebP format images highlighting some security reasons. However, using the following code you can easily upload WebP images on your WordPress website – which in fact is also recommended on the Google PageSpeed or GTmetrix as Serve images in next-gen formats. Simply copy and paste the code to your theme’s functions.php.







SUBSCRIBE

SUBSCRIBE

Welcome to Hey, Let's Learn Something!

Please sign up here to receive the latest updates on our blogs, tutorials and download section :)

Thank you for subscribing :)