Skip to content

Snippet: Alter the WooCommerce Product Slider Thumbnail Sizes (deprecated)

Important: This snippet is only for older theme versions below Total 3.6.0

function myprefix_wpex_shop_single_slider_data( $data ) {
	$data['thumbnail-height'] = '50';
	$data['thumbnail-width'] = '50';
	return $data;
}
add_filter( 'wpex_shop_single_slider_data', 'myprefix_wpex_shop_single_slider_data' );
All PHP snippets should be added via child theme's functions.php file or via a plugin.
We recommend Code Snippets (100% Free) or WPCode (sponsored)
Back To Top