Created
May 6, 2020 08:36
-
-
Save wplit/ddf0dc0805020f916f436687383ae67c to your computer and use it in GitHub Desktop.
resize woocommerce gallery thumbnails
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
| add_filter( 'woocommerce_get_image_size_gallery_thumbnail', function( $size ) { | |
| return array( | |
| 'width' => 200, | |
| 'height' => 200, | |
| 'crop' => 1, | |
| ); | |
| } ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment