Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Tommaso Vietina
Added: Apr 2, 2021 8:48 AM
Modified: Apr 2, 2021 8:51 AM
Views: 5
Tags: no tags
  1. add_filter( 'woocommerce_get_image_size_gallery_thumbnail', function( $size ) {
  2.         return array(
  3.                 'width'  => 400,
  4.                 'height' => 400,
  5.                 'crop'   => 1,
  6.         );
  7. } );