Created
May 30, 2019 23:02
-
-
Save wpbean/65ada51b5e6f11acb3c716a416ebffaf to your computer and use it in GitHub Desktop.
WPB WooCommerce Product Slider (Free version) image size change
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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