Skip to content

Instantly share code, notes, and snippets.

@jawngee
Last active April 21, 2017 16:11
Show Gist options
  • Select an option

  • Save jawngee/4e941a0f28149eaaa06499447e326698 to your computer and use it in GitHub Desktop.

Select an option

Save jawngee/4e941a0f28149eaaa06499447e326698 to your computer and use it in GitHub Desktop.
Adding parameters to Imgix URL
<?php
add_filter('ilab_imgix_filter_parameters',function($params, $size, $id, $meta){
$params['blur'] = 20;
return $params;
}, 10, 4);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment