woocommerce_cart_fragment_name filter-hookWC 1.0

Usage

add_filter( 'woocommerce_cart_fragment_name', 'wp_kama_woocommerce_cart_fragment_name_filter' );

/**
 * Function for `woocommerce_cart_fragment_name` filter-hook.
 * 
 * @param  $string 
 *
 * @return 
 */
function wp_kama_woocommerce_cart_fragment_name_filter( $string ){

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

Where the hook is called

WC_Frontend_Scripts::get_script_data()
woocommerce_cart_fragment_name
woocommerce/includes/class-wc-frontend-scripts.php 569
'fragment_name'   => apply_filters( 'woocommerce_cart_fragment_name', 'wc_fragments_' . md5( get_current_blog_id() . '_' . get_site_url( get_current_blog_id(), '/' ) . get_template() ) ),

Where the hook is used in WooCommerce

Usage not found.