×

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:45 AM
Views: 3937
Tags: no tags
  1. add_filter('woocommerce_get_image_size_thumbnail', function ($size) {
  2.     return array(
  3.         'width'  => 600,
  4.         'height' => 600,
  5.         'crop'   => 1,
  6.     );
  7. });