woocommerce_cart_fragment_name

woocommerce_cart_fragment_name

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_cart_fragment_name') is found 1 times:

  • /includes/class-wc-frontend-scripts.php line 569
    				$params = array(
    					'ajax_url'        => WC()->ajax_url(),
    					'wc_ajax_url'     => WC_AJAX::get_endpoint( '%%endpoint%%' ),
    					'cart_hash_key'   => apply_filters( 'woocommerce_cart_hash_key', 'wc_cart_hash_' . md5( get_current_blog_id() . '_' . get_site_url( get_current_blog_id(), '/' ) . get_template() ) ),
    					'fragment_name'   => apply_filters( 'woocommerce_cart_fragment_name', 'wc_fragments_' . md5( get_current_blog_id() . '_' . get_site_url( get_current_blog_id(), '/' ) . get_template() ) ),
    					'request_timeout' => 5000,
    				);
    				break;
    			case 'wc-add-to-cart':
    				$params = array(
    					'ajax_url'                => WC()->ajax_url(),