WordPress 5.8 added support to allow uploading WebP images just like PNG, JPEG. WebP images are supposed to be smaller in size and make the web faster.

WebP is a modern image format that provides superior lossless and lossy compression for images on the web. Using WebP, webmasters and web developers can create smaller, richer images that make the web faster.

WebP image format is developed by Google and you can read more details on the new image format.

However, WebP images are not automatically supported on WordPress multi sites. WordPress multi-site users are still not allowed to upload WebP images. It’s sad but true.

While this is in the roadmap for the future, in the meantime, you can add WebP image support on WordPress multi-sites with a little custom code:

// Ensure all network sites include WebP support.
  function ( $filetypes ) {
    $filetypes = explode( ' ', $filetypes );
    if ( ! in_array( 'webp', $filetypes, true ) ) {
      $filetypes[] = 'webp';
      $filetypes   = implode( ' ', $filetypes );
    return $filetypes;

If you’re not familiar with custom codes snippets, you can read the article on how to easily add custom code in WordPress.

Did you know? You can see who is currently online in your WordPress site!

I hope you found this helpful!

Add WebP image support in a WordPress multisite
Tagged on:

Leave a Reply

Your email address will not be published.

Pin It on Pinterest