safi_unsplash_image_quality [PRO]

Filters the base image quality from unsplash images before the final featured image are processed.

Higher quality means slightly longer processing time.

Default value is “90”.

Arguments:

  • $quality: string quality between 0-100
add_filter('safi_unsplash_image_quality ', function ($quality) {
    //Sets the quality to 95 (max 100)
    $quality = "95";

    return $quality;
});
Was this page helpful?