Plus WebP or AVIF

Por Katsushi Kawamori
(24 avaliações)
Baixar
  • Versão:
    5.00
  • Última atualização:
    há 13 dias
  • Instalações ativas:
    mais de 3 mil
  • Versão do WordPress:
    4.7 ou maior
  • Testado até o WordPress:
    6.6.1
  • Versão do PHP:
    8.1 ou maior

Hospedagem WordPress com plugin Plus WebP

Onde posso hospedar o plugin Plus WebP?

Este plugin pode ser hospedado em qualquer hospedagem que possua WordPress instalado. Recomendamos fortemente escolher uma empresa de hospedagem de confiança, com servidores otimizados para WordPress, como o serviço de hospedagem de sites da MCO2.

Hospedando o plugin Plus WebP em uma empresa de hospedagem seguro

A MCO2, além de configurar e instalar o WordPress na versão mais nova para seus clientes, disponibiliza o WP SafePress, um mecanismo singular que assegura e melhora seu site ao mesmo tempo.

Por que a Hospedagem WordPress funciona melhor na MCO2?

A Hospedagem WordPress funciona melhor pois a MCO2 possui servidores otimizados para WordPress. A instalação de WordPress é diferente de uma instalação trivial, pois habilita imediatamente recursos como otimização automática de imagens e fotos, proteção da página de login, bloqueio de atividades maliciosas diretamente no firewall, cache avançado e HTTPS ativado por padrão. São recursos que potencializam seu WordPress para a máxima segurança e o máximo desempenho.

Generate WebP or AVIF

  • Generate WebP or AVIF file when adding image file in Media Library.
  • Generate WebP or AVIF from all the images by async/await.
  • Optionally, Can replace image files with WebP or AVIF when adding new media, and delete the original image file. Also, when generating all images, the original image file ID will be overwritten as WebP or AVIF and the original image file will be deleted. All URLs in the content are also replaced.

WP-CLI

WP-CLI commands are available. If you have a large number of files, WP-CLI commands is more reliable.
* wp pluswebpavif
* wp pluswebpavif webp -> Generated WebP.
* wp pluswebpavif avif -> Generated AVIF.
* wp pluswebpavif webp --mail=true -> Send results via email.
* wp pluswebpavif webp --pid=12152 -> Process only specified Media ID.
* wp pluswebpavif avif --quality=90 -> Specifies the quality of WebP or AVIF.
* wp pluswebpavif webp --replace=false -> WebP or AVIF replacement of images and contents.
* wp pluswebpavif avif --addext=true -> Append the webp or avif extension to the original filename.
* wp pluswebpavif webp --types=image/png,image/gif -> MIME type to convert.

How it works

Filter hooks

/** ==================================================
 * Filter for advanced change database.
 * If you want to replace other databases besides content.
 */
add_filter(
    'plus_webp_advanced_change_db',
    function( $before_url, $after_url ) {
        /* Your processing */
        return array( $before_url, $after_url );
    },
    10,
    2
);

Capturas de tela

Media Library

Media Library

Generate

Generate

Settings

Settings