From 2613db9ee7f1139d1cb79b36fda852ce05966e8e Mon Sep 17 00:00:00 2001 From: Peter Molnar Date: Tue, 28 Jun 2016 17:41:27 +0000 Subject: [PATCH] updating before refactor --- wp-resized2cache.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-resized2cache.php b/wp-resized2cache.php index cde4b52..c0397cf 100644 --- a/wp-resized2cache.php +++ b/wp-resized2cache.php @@ -141,6 +141,7 @@ class WP_RESIZED2CACHE { $imagick->setImageCompression(Imagick::COMPRESSION_JPEG); $imagick->setImageCompressionQuality(static::jpeg_quality()); $imagick->setInterlaceScheme(Imagick::INTERLACE_PLANE); + $imagick = apply_filters( "wp_resized2cache_imagick", $imagick, $resized ); $imagick->writeImage($cached); $imagick->destroy(); }