woocommerce_single_product_carousel_options filter-hookWC 1.0

Usage

add_filter( 'woocommerce_single_product_carousel_options', 'wp_kama_woocommerce_single_product_carousel_options_filter' );

/**
 * Function for `woocommerce_single_product_carousel_options` filter-hook.
 * 
 * @param  $array 
 *
 * @return 
 */
function wp_kama_woocommerce_single_product_carousel_options_filter( $array ){

	// filter...
	return $array;
}
$array
-

Where the hook is called

WC_Frontend_Scripts::get_script_data()
woocommerce_single_product_carousel_options
woocommerce/includes/class-wc-frontend-scripts.php 504-517
'flexslider'                => apply_filters(
	'woocommerce_single_product_carousel_options',
	array(
		'rtl'            => is_rtl(),
		'animation'      => 'slide',
		'smoothHeight'   => true,
		'directionNav'   => false,
		'controlNav'     => 'thumbnails',
		'slideshow'      => false,
		'animationSpeed' => 500,
		'animationLoop'  => false, // Breaks photoswipe pagination if true.
		'allowOneSlide'  => false,
	)
),

Where the hook is used in WooCommerce

Usage not found.