woocommerce_cart_hash_key

woocommerce_cart_hash_key

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_cart_hash_key') is found 1 times:

  • /includes/class-wc-frontend-scripts.php line 580
    			case 'wc-cart-fragments':
    				$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(