Skip to content

Instantly share code, notes, and snippets.

@corsonr
Created July 24, 2018 07:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save corsonr/3b76438d991e627e72adaf95478b2e33 to your computer and use it in GitHub Desktop.
Save corsonr/3b76438d991e627e72adaf95478b2e33 to your computer and use it in GitHub Desktop.
WooCommerce 360: slow down...
<?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