Created
March 9, 2018 16:06
-
-
Save woogists/23781b4b47d0e16d5fb7d45983af5b4d to your computer and use it in GitHub Desktop.
[WooCommerce 360 Image] Do not output the default full size
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
add_filter( 'wc360_output_image_size', 'wcs_360_image_size_output' ); | |
function wcs_360_image_size_output() { | |
return 'shop_single'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment