Skip to content

Instantly share code, notes, and snippets.

@wpbean

wpbean/functions.php

Created May 30, 2019
Embed
What would you like to do?
WPB WooCommerce Product Slider (Free version) image size change
<?php
/**
* Add this code on your theme functions.php file
*/
add_filter( 'wpb_wps_product_archive_thumbnail_size', 'wpb_wps_product_archive_thumbnail_size_update' );
function wpb_wps_product_archive_thumbnail_size_update( $size ){
$size = 'large'; // your image size
return $size;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment