Created
July 24, 2018 07:34
-
-
Save corsonr/3b76438d991e627e72adaf95478b2e33 to your computer and use it in GitHub Desktop.
WooCommerce 360: slow down...
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 // Do not include this if already open! Code goes in theme functions.php. | |
/* | |
* Slow down WooCommerce 360 images rotation. | |
*/ | |
add_filter( 'wc360_js_playspeed', 'woo_slow_down360' ); | |
function woo_slow_down360( $speed ) { | |
return 50; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment