Enable uploading AVIF files In the Media Library. You can convert your existing PNG, JPG
and GIF files using a tool like Squoosh.
- Click on Tools in the WordPress left side admin bar.
- Then select Enhancements.
- Click on Content Management.
- Locate the AVIF Upload option and enable or disable the option.
- Click save changes.