Created
September 19, 2020 08:40
-
-
Save toptools/6bee54933f36e4a09d4919c3e8e59f0e to your computer and use it in GitHub Desktop.
This file contains 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', 'cg_woocommerce_image_size_gallery_thumbnail', 99 ); | |
function cg_woocommerce_image_size_gallery_thumbnail( $size ) { | |
return array( | |
'width' => 800, | |
'height' => 800, | |
'crop' => 1, | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment