V 3.0 Single product Thumbnail columns filter does not work
-
Woocommerce 3.0 Single product Thumbnail columns filter does not work
This does not work anymore https://hookr.io/filters/woocommerce_product_thumbnails_columns/
even in the default wp theme 20-16 the thumbnail columns dont change to the correct number. They always stay at 4 whereas the class name of the wrapper changes to the correct number set.
Pls fix !
// remove the filter? remove_filter( 'woocommerce_product_thumbnails_columns', 'filter_woocommerce_product_thumbnails_columns', 10, 1 ); function filter_woocommerce_product_thumbnails_columns($int){ $int=3; return $int; } // add the filter? add_filter( 'woocommerce_product_thumbnails_columns', 'filter_woocommerce_product_thumbnails_columns', 10, 1 );
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘V 3.0 Single product Thumbnail columns filter does not work’ is closed to new replies.