• Resolved fidoboy

    (@fidoboy)


    Hi,

    I’m trying to modify from code the compression level only for a certain folder in my setup. I suppose that this can be easily done in functions.php, but I don’t know what hook and functions to use. What I’m trying to do is, for example, if I’ve a 80 value for JPG level on EWWW settings, I want to apply a value of 70 (or other formats like PNG) but only for images into a custom folder that I’ve added into the aditional folders list.

    Can this be done with some custom code?

    • This topic was modified 2 years, 5 months ago by fidoboy.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Override compression levels only for a given folder’ is closed to new replies.