Фильтр значений сжатия изображений | WordPress.org

[ad_1]

Plugin Author
Pedro

(@petredobrescu)

Hello @po64,

Here’s how you can use the filter we have recently introduced in our plugin. You need to add the following line to your theme’s functions.php file, or by using a plugin like Code Snippets:

add_filter( 'resmushit_image_quality', function() { return 90; } );

Feel free to change 90 to a quality level suitable to your needs.

Best wishes!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer