Created
October 30, 2018 16:21
-
-
Save markbain/3d1f96b30a4581f61d3e27dd4f58a0bb to your computer and use it in GitHub Desktop.
Algolia filter for images
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
| // Algolia filters | |
| add_filter('algolia_post_images_sizes', function($sizes) { | |
| $sizes[] = 'latest_post'; | |
| return $sizes; | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment