Last active
April 21, 2017 16:11
-
-
Save jawngee/4e941a0f28149eaaa06499447e326698 to your computer and use it in GitHub Desktop.
Adding parameters to Imgix URL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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