Created
December 14, 2017 12:44
-
-
Save rynaldos-zz/674e87cc9311d87bae89c3f6ea6db901 to your computer and use it in GitHub Desktop.
[WooCommerce 3.0+] Change number of Instagram images output on product page (Instagram plugin required)
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( 'woocommerce_instagram_images', 'woocommerce_instagram_img_count' ); | |
function woocommerce_instagram_img_count(){ | |
return 4; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment