woocommerce_cart_fragment_name

woocommerce_cart_fragment_name

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_cart_fragment_name') is found 1 times:

  • /includes/class-wc-frontend-scripts.php line 590
    586
    587
    588
    589
    590
    591
    592
    593
    594
    595
    596
        $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(),