WordPress filter hook
woocommerce_cart_item_remove_link
Defined by WooCommerce and fired by 89 plugins in total, running on 9.2M+ sites between them.
How to use woocommerce_cart_item_remove_link
It's a filter: your callback receives the value and 1 more argument, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'woocommerce_cart_item_remove_link', function( $sprintf, $cart_item_key ) {
// Change $sprintf here.
return $sprintf;
}, 10, 2 );Argument names come from Royal Addons for Elementor's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
89 plugins that fire woocommerce_cart_item_remove_link
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
WooCommerce7+ million installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a role="button" href="%s" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_attr( sprintf( __( 'Remove %s from cart', 'woocommerce' ), wp_strip_all_tags( $product_name ) ) ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ) ), $cart_item_key )templates/cart/cart.php:72 -
Essential Addons for Elementor1+ million installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s">%s</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_html__( 'Remove this item', 'essential-addons-for-elementor-lite' ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ), Helper::get_render_icon( $column_data['item_remove_icon'], [ 'aria-hidden' => 'true' ] ) ), $cart_item_key )includes/Template/Woocommerce/Cart/Woo_Cart_Helper.php:102 -
Royal Addons for Elementor600,000+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_html__( 'Remove this item', 'woocommerce' ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ) ), $cart_item_key )includes/woocommerce/templates/cart/cart.php:52 -
CartFlows200,000+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="#" rel="nofollow" class="wcf-remove-product cartflows-icon cartflows-circle-cross" data-id="%s" data-item-key="%s"></a>', esc_attr( $cart_item['product_id'] ), $cart_item_key ), $cart_item_key )modules/checkout/classes/class-cartflows-checkout-markup.php:380 -
Element Pack Addons for Elementor100,000+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" aria-label="%s" data-product_id="%s" data-cart_item_key="%s" data-product_sku="%s"><svg width="14" height="14" viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg" data-svg="close-icon"><line fill="none" stroke="#000" stroke-width="1.1" x1="1" y1="1" x2="13" y2="13"></line><line fill="none" stroke="#000" stroke-width="1.1" x1="13" y1="1" x2="1" y2="13"></line></svg></a>... )includes/helper.php:2606 -
ShopEngine90,000+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a title="' . $cart . '" href="%s" class="remove remove_from_cart_button" aria-label="%s" data-product_id="%s" data-cart_item_key="%s" data-product_sku="%s"> %s </a>', esc_url(wc_get_cart_remove_url($cart_item_key)), esc_html__('Remove this item', 'shopengine'), esc_attr($product_id), esc_attr( $cart_item_key ), esc_attr($_product->get_sku()), $remove_icon, ), $cart_item_key )widgets/cart-table/screens/cart.php:69 -
Jupiter X Core70,000+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove jupiterx_remove_from_cart" aria-label="%s" data-product_id="%s" data-cart_item_key="%s" data-product_sku="%s"></a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_attr__( 'Remove this item', 'jupiterx-core' ), esc_attr( $product_id ), esc_attr( $cart_item_key ), esc_attr( $_product->get_sku() ) ), $cart_item_key )includes/extensions/raven/includes/modules/shopping-cart/template/mini-cart.php:58 -
Sliding Cart for WooCommerce by FunnelKit30,000+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_html__( 'Remove this item', 'cart-for-woocommerce' ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ) ), $cart_item_key )includes/front.php:437 -
WPC Fly Cart for WooCommerce10,000+ installs
apply_filters( 'woocommerce_cart_item_remove_link', '<span class="woofc-item-remove" aria-label="' . esc_attr( sprintf( esc_html__( 'Remove %s from cart', 'woo-fly-cart' ), wp_strip_all_tags( $product->get_name() ) ) ) . '" data-product_id="' . esc_attr( $product_id ) . '" data-product_sku="' . esc_attr( $product->get_sku() ) . '"><span class="hint--left" aria-label="' . esc_attr( self::localization( 'remove', esc_html__( 'Remove', 'woo-fly-cart... )wpc-fly-cart.php:535 -
ShopBuilder10,000+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s">%s</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_attr__( 'Remove this item', 'shopbuilder' ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ), ! empty( Fns::icons_manager( $table['cart_table_remove_icon'] ) ) ? Fns::icons_manager( $table['cart_table_remove_icon'] ) : '' ),... )templates/elementor/cart/cart-table.php:64 -
NP Quote Request for WooCommerce8,000+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" type="submit" class="remove" title="%s" data-product_id="%s" data-product_sku="%s">×</a>', $url . '&man-deleted=' . $product_id . "&gpls_woo_fav_nonce=" . $nonce, (__('Remove this item', 'woo-rfq-for-woocommerce')), esc_attr($product_id), esc_attr($_product->get_sku()) ), ($cart_item_key) )woocommerce/woo-rfq/fav-cart.php:160 -
Boostify Header Footer Builder for Elementor6,000+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove remove_from_cart_button" aria-label="%s" data-product_id="%s" data-cart_item_key="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_attr__( 'Remove this item', 'woocommerce' ), esc_attr( $product_id ), esc_attr( $cart_item_key ), esc_attr( $_product->get_sku() ) ), $cart_item_key )inc/elementor/module/class-woocommerce.php:155 -
WPCafe5,000+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove remove_from_cart_button" aria-label="%s" data-product_id="%s" data-cart_item_key="%s" data-product_sku="%s"> <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none" xmlns:v="https://vecta.io/nano"><path fill-rule="evenodd" d="M13.19 1.137a.75.75 0 0 0-1.062 1.059l1.924 1.929H5.95l1.923-1.929a.75.75 0 1 0-1.062-1.059l-2.98 2.988h-.315c-.489... )core/modules/mini-cart/views/mini-cart-template.php:34 -
ThemeHunk5,000+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a class="taiowc-remove-item taiowc_remove_from_cart_button" aria-label="%s" data-product_id="%s" data-key="%s" data-product_sku="%s"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-x" aria-hidden="true"><path d="M18 6 6 18"></path><... )inc/taiowc.php:707 -
Orderable5,000+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="orderable-mini-cart-item__remove remove_from_cart_button" aria-label="%s" data-product_id="%s" data-cart_item_key="%s" data-product_sku="%s"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><rect x="0" fill="none" width="20" height="20"/><g><path d="M12 4h3c.6 0 1 .4 1 1v1H3V5c0-.6.5-1 1-1h3c.2-1.1 1.3-2 2.5-2s2.3.9 2.5 2zM8 4h3c-.2-.6-.9-1-1.5-1S8.2 3.4... )woocommerce/cart/mini-cart.php:68 -
CoDesigner4,000+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s"><i class="' . $section_product_remove_icon['value'] . '"></i></a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_html__( 'Remove this item', 'codesigner' ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ) ), $cart_item_key )widgets/cart-items/cart-items.php:2060 -
XT Floating Cart for WooCommerce4,000+ installs
apply_filters( 'woocommerce_cart_item_remove_link', ' <a href="#" class="xt_woofc-delete-item"> <i class="'.xt_woofc_product_delete_icon_class().'"></i> <span>'.esc_html__( 'Remove', 'woo-floating-cart' ).'</span> </a>', $cart_item_key )public/templates/parts/cart/list/product/actions.php:28 -
WowStore4,000+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove wopb-cart-product-remove" aria-label="%s" data-product_id="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $args['cart_item_key'] ) ), esc_html__( 'Remove this item', 'product-blocks' ), esc_attr( $args['product']->get_id() ), esc_attr( $args['product']->get_sku() ) ), $args['cart_item_key'] )blocks/woo/cart_table/Template.php:15 -
Ultimate Store Kit3,000+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" aria-label="%s" data-product_id="%s" data-cart_item_key="%s" data-product_sku="%s"><span><i class="usk-icon-close"></i></span></a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_html__( 'Remove this item', 'ultimate-store-kit' ), esc_attr( $product_id ), esc_attr( $cart_item_key ), esc_attr( $_product->get_sku() ) ), $cart_item_key )modules/mini-cart/templates/cart/mini-cart-backup.php:71 -
Responsive Addons for Elementor3,000+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" aria-label="%s" data-product_id="%s" data-cart_item_key="%s" data-product_sku="%s"></a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), __( 'Remove this item', 'responsive-addons-for-elementor' ), esc_attr( $product_id ), esc_attr( $cart_item_key ), esc_attr( $_product->get_sku() ) ), $cart_item_key )includes/widgets-manager/wc-templates/cart/mini-cart.php:65 -
ShopEngine Gutenberg WooCommerce Builder Blocks Addon3,000+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s">×</a>', esc_url(wc_get_cart_remove_url($cart_item_key)), esc_html__('Remove this item', 'shopengine-gutenberg-addon'), esc_attr($product_id), esc_attr($_product->get_sku()) ), $cart_item_key )blocks/cart-table/cart.php:64 -
Food Menu2,000+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove remove_from_cart_button" aria-label="%s" data-product_id="%s" data-cart_item_key="%s" data-product_sku="%s">%s<span class="rm-text">%s</span></a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_attr__( 'Remove this item', 'tlp-food-menu' ), esc_attr( $product_id ), esc_attr( $cart_item_key ), esc_attr( $_product->get_sku() ), $remove_icon, esc_htm... )templates/mini-cart/mini-cart.php:86 -
StoreGrowth2,000+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="spsg-fly-cart-remove" aria-label="%s" data-product_id="%s" data-product_sku="%s"> <svg width="18" height="18" viewBox="0 0 20 20" fill="none"> <path fill="#073B4C" d="M8.33329 4.16667H11.6666C11.6666 3.72464 11.491 3.30072 11.1785 2.98816C10.8659 2.67559 10.442 2.5 9.99996 2.5C9.55793 2.5 9.13401 2.67559 8.82145 2.98816C8.50889 3.30072 8.33329 3.72464 8.33329 4.166... )modules/fly-cart/templates/cart-contents.php:136 -
Minicart for WooCommerce1,000+ installs
apply_filters( 'woocommerce_cart_item_remove_link', $remove_link, $cart_item_key )frontend/wmc-content.php:62 -
WP Hotel Booking WooCommerce1,000+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), __( 'Remove this item', 'wp-hotel-booking-woocommerce' ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ) ), $cart_item_key )templates/woocommerce/cart/cart.php:60 -
Mini Ajax Cart for WooCommerce800+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf('<a href="%s" class="majc-remove" aria-label="%s" data-cart_item_id="%s" data-cart_item_sku="%s" data-cart_item_key="%s"><span class="egi-icon-trash-alt"></span></a>', esc_url(wc_get_cart_remove_url($majc_item_key)), esc_attr__('Remove this item', 'mini-ajax-cart'), esc_attr($majc_product_id), esc_attr($majc_product->get_sku()), esc_attr($majc_item_key)), $majc_item_key )classes/frontend-class.php:136 -
Instantio700+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove" aria-label="%s" data-product_id="%s" data-variation_id="%s" data-product_sku="%s"> <span class="ins-single-item-remove"><svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M4.83366 2.33329V0.666626H13.167V2.33329H17.3337V3.99996H15.667V16.5C15.667 16.721 15.5792 16.9329 15.4229 17.0892C15.2666 17.2455 15.... )includes/templates/cart-modern.php:68 -
WC Booster700+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="wc-booster-remove-product" aria-label="%s" data-product_id="%s" data-product_sku="%s"><i class="fa fa-times"></i></a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_html__( 'Remove this item', 'wc-booster' ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ) ), $cart_item_key )woocommerce/cart/cart.php:100 -
MarketKing700+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_html__( 'Remove this item', 'marketking-multivendor-marketplace-for-woocommerce' ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ) ), $cart_item_key )public/templates/cart.php:124 -
BuddyPress Integration for WooCommerce700+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" rel="nofollow" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s" style="float:left;margin-right:5px">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_attr__( 'Remove this item', 'wc4bp' ), esc_attr( $cart_item['product_id'] ), esc_attr( $cart_item_key ), esc_attr( $cart_item['data']->get_sku() ) ), $cart_item_key )class/wc4bp-redefine-functions.php:72 -
ShopPress600+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_attr( sprintf( __( 'Remove %s from cart', 'shop-press' ), wp_strip_all_tags( $product_name ) ) ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ) ), $cart_item_key )public/templates/cart/cart-table.php:56 -
Mini Cart for WooCommerce500+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf('<a href="%s" class="whmc-remove" aria-label="%s" data-cart_item_id="%s" data-cart_item_sku="%s" data-cart_item_key="%s"><span class="icon_cancel-circle"></span></a>', esc_url(wc_get_cart_remove_url($itemKey)), esc_html__('Remove this item', 'mini-cart-for-woocommerce'), esc_attr($product_id), esc_attr($product->get_sku()), esc_attr($itemKey)), esc_attr($itemKey) )public/frontend/class-whmc-fragments.php:132 -
StoreBuild400+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="aq-line-anim aq-cartmini-remove aq-remove remove_from_cart_button" aria-label="%s" data-product_id="%s" data-cart_item_key="%s" data-product_sku="%s">%s</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_attr__( 'Remove this item', 'woocommerce' ), esc_attr( $product_id ), esc_attr( $cart_item_key ), esc_attr( $_product->get_sku() ), esc_html__('Remove'... )public/class-pure-wc-shopbuild-public.php:543 -
Topper Pack400+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a role="button" href="%s" class="remove remove_from_cart_button topppa-mini-cart-remove" aria-label="%s" data-product_id="%s" data-cart_item_key="%s" data-product_sku="%s" data-success_message="%s" title="%s"> <svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M9 3L3 9M3 3L9 9" stroke="currentColor" stroke-width="1.5" stroke-linec... )includes/woocommerce/templates/cart/mini-cart.php:68 -
Food Online for WooCommerce300+ installs
apply_filters( 'woocommerce_cart_item_remove_link', '<span class="mini-cart2">' . sprintf('<a href="%s" class=" remove_from_cart_button fdoe_remove" aria-label="%s" data-product_id="%s" data-cart_item_key="%s" data-product_sku="%s"><i class="fas fa-times-circle fa-lg" style="color:Tomato"></i></a></span>', esc_url(wc_get_cart_remove_url($cart_item_key)), esc_attr__('Remove this item', 'woocommerce'), esc_attr($product_id), esc_attr($cart_item_ke... )templates/cart/mini-cart-incre.php:58 -
CRT Addons Builder and Widgets for Elementor300+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_html__( 'Remove this item', 'crt-manage' ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ) ), $cart_item_key )includes/customizer/addons/templates/cart/cart.php:52 -
Noah Shop Builder for WooCommerce300+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a role="button" href="%s" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_attr( sprintf( __( 'Remove %s from cart', 'noah-shop-builder-for-woocommerce' ), wp_strip_all_tags( $product_name ) ) ), esc_attr( $product_id ), esc_attr( $product->get_sku() ) ), $cart_item_key )includes/Blocks/CartTable.php:155 -
Free Product Sample for WooCommerce200+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_html__( 'Remove this item', 'woocommerce' ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ) ), $cart_item_key )public/partials/woocommerce/cart/cart.php:51 -
KiriminAja Official200+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_attr( sprintf( __( 'Remove %s from cart', 'kiriminaja-official' ), wp_strip_all_tags( $product_name ) ) ), esc_attr( $kiriof_product_id ), esc_attr( $kiriof_product->get_sku() ) ), $cart_item_key )templates/woocommerce/cart/cart.php:65 -
Floating Minicart for WooCommerce200+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove remove_from_cart_button awfm-item-remove-btn" aria-label="%s" data-product_id="%s" data-cart_item_key="%s" data-product_sku="%s" role="button">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_attr__( 'Remove this items from your cart', 'woo-floating-minicart' ), esc_attr( $product_id ), esc_attr( $cart_item_key ), esc_attr( $_product->g... )includes/awfm-frontend.php:235 -
Visual Builder200+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove remove_from_cart_button" aria-label="%s" data-product_id="%s" data-cart_item_key="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), '', esc_attr( $product_id ), esc_attr( $cart_item_key ), esc_attr( $_product->get_sku() ) ), $cart_item_key )inc/woocommerce/mini-cart.php:89 -
Shopready100+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="rt-remove" aria-label="%s" data-product_id="%s" data-product_sku="%s" data-cart_item_key="%s">%s</a>', esc_url(wc_get_cart_remove_url($cart_item_key)), esc_html__('Remove', 'shopready-elementor-addon'), esc_attr($product_id), esc_attr($_product->get_sku()), esc_attr($cart_item_key), wp_kses_post($remove_icon), ), $cart_item_key )src/extension/templates/presets/cart/cart.php:81 -
Modal COD Form for woocommerce100+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove remove_from_cart_button" aria-label="%s" data-product_id="%s" data-cart_item_key="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $modalcodf_cart_item_key ) ), esc_attr( sprintf( esc_html__( 'Remove %s from cart', 'modal-cod-form' ), wp_strip_all_tags( $modalcodf_product_name ) ) ), esc_attr( $modalcodf_product_id ), esc_attr( $modal... )templates/shop/cart/mini-cart.php:41 -
RestroFood Lite100+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove remove_from_cart_button" aria-label="%s" data-product_id="%s" data-cart_item_key="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_attr__( 'Remove this item', 'restrofoodlite' ), esc_attr( $product_id ), esc_attr( $cart_item_key ), esc_attr( $_product->get_sku() ) ), $cart_item_key )template/woocommerce/cart/mini-cart.php:117 -
ShopMaker90+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove sm-cart-link" title="%s" data-product_id="%s" data-product_sku="%s">%s</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_html__( 'Remove', 'shop-maker' ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ), esc_html__( 'Remove', 'shop-maker' ) ), $cart_item_key )templates/widgets/sm-parts/cart-table.php:181 -
AMP WooCommerce90+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_html__( 'Remove this item', 'amp-woocommerce' ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ) ), $cart_item_key )templates/cart/cart.php:45 -
Gift Vouchers for WooCommerce70+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_attr( sprintf( __( 'Remove %s from cart', 'woocommerce' ), wp_strip_all_tags( $product_name ) ) ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ) ), $cart_item_key )templates/cart/cart.php:53 -
WebSync Checkout for Elementor50+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_html__( 'Remove this item', 'woocommerce' ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ) ), $cart_item_key )templates/cart/custom-cart.php:120 -
Sidebar Cart for WooCommerce50+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove remove_from_cart_button" aria-label="%s" data-product_id="%s" data-cart_item_key="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), __( 'Remove this item', 'woocommerce' ), esc_attr( $product_id ), esc_attr( $cart_item_key ), esc_attr( $_product->get_sku() ) ), $cart_item_key )inc/scw-review.php:82 -
Atomic Addons50+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove_from_cart_button" aria-label="%s" data-product_id="%s" data-cart_item_key="%s" data-product_sku="%s" data-success_message="%s"><span><i class="eicon-close" aria-hidden="true"></i></span></a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_attr( sprintf( __( 'Remove %s from cart', 'atomic-elements' ), wp_strip_all_tags( $_product->get_name() ) ) ),... )includes/widgets/mini-cart.php:1493 -
wiseCampaign40+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove" aria-label="%s" data-product_id="%s">×</a>', esc_url(wc_get_cart_remove_url($cart_item_key)), esc_attr__('Remove this item', 'woocommerce'), esc_attr($_product->get_id()) ), $cart_item_key )includes/features/templates/wise-cart-content.php:78 -
Drawer Sliding40+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove remove_from_cart_button" aria-label="%s" data-product_id="%s" data-cart_item_key="%s" data-product_sku="%s">×</a>', esc_url(wc_get_cart_remove_url($cart_item_key)), esc_attr__('Remove this item', 'woocommerce'), esc_attr($product_id), esc_attr($cart_item_key), esc_attr($_product->get_sku()) ), $cart_item_key )woocommerce/cart/mini-cart.php:142 -
SCM40+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove remove_from_cart_button" aria-label="%s" data-product_id="%s" data-cart_item_key="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_attr__( 'Remove this item', 'woocommerce' ), esc_attr( $product_id ), esc_attr( $cart_item_key ), esc_attr( $_product->get_sku() ) ), $cart_item_key )scd_renders.php:2442 -
NC Ajax Cart for woocommerce30+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" id="nc_ajax_cart_remove" class="remove" title="%s" data-product_id="%s" data-product_sku="%s" data-cart-key="%s">×</a>', 'javascript:void(0)', __( 'Remove this item', 'nc-ajax-cart-for-woocommerce' ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ), $cart_item_key ), $cart_item_key )public/includes/woocommerce/templates/cart/mini-cart.php:40 -
One Page Checkout for WooCommerce30+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), __( 'Remove this item', 'onepagecheckout-for-woocommerce' ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ) ), $cart_item_key )public/templates/cart/cart.php:120 -
Restaurant Menu / bulk order plugin for WooCommerce20+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), __( 'Remove this item','pisol-restautant-menu' ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ) ), $cart_item_key )front/view/woocommerce/cart/cart-empty.php:68 -
Elite Elementor Addons and Widgets20+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_html__( 'Remove this item', 'woocommerce' ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ) ), $cart_item_key )includes/woocommerce/templates/cart/cart.php:52 -
Educat Elementor LMS Addon20+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf('<a href="%s" class="sp_cart_remove" aria-label="%s" data-product_id="%s" data-product_sku="%s" data-cart_item_key="%s">×</a>', esc_url(wc_get_cart_remove_url($cart_item_key)), esc_html__('Remove this item', 'woocommerce'), esc_attr( $product_id ), esc_attr( $_product->get_sku() ), esc_attr( $cart_item_key ) ), $cart_item_key )includes/extension/float-cart/index.php:106 -
Max Elements for Elementor10+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s">%s</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_html__( 'Remove this item', 'max-elements' ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ), Helpers::get_render_icon( $column_data['item_remove_icon'], [ 'aria-hidden' => 'true' ] ) ), $cart_item_key )elementor/helpers/woo_cart.php:96 -
SBS10+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove" title="%s">×</a>', esc_url( WC()->cart->get_remove_url( $cart_item_key ) ), __( 'Remove this item', 'woocommerce' ) ), $cart_item_key )templates/cart/cart.php:45 -
Hygglig Checkout10+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove" title="%s" cart_item="%s" data-product_id="%s" data-product_sku="%s"><i class="fal fa-times">x</i></a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), __( 'Remove this item', 'woocommerce' ), esc_attr( $cart_item_key ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ) ), $cart_item_key )classes/views/html-checkout-cart.php:38 -
Cart Dropdown10+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf('<a href="%s" class="remove" title="%s">×</a>', esc_url(WC()->cart->get_remove_url($item)), __('Remove this item', 'evolve')), $item )cart-dropdown-webaddict.php:65 -
Express Shop for WooCommerce Product Table10+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_attr__( 'Remove this item', 'express-shop'), esc_attr( $product_id ), esc_attr( $_product->get_sku() ) ), $cart_item_key )inc/cart/cart.php:51 -
Floating Cart Woocommerce10+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove" title="%s" data-product_id="%s" data-product_sku="%s">×</a>', esc_url( WC()->cart->get_remove_url( $cart_item_key ) ), __( 'Remove this item', 'woocommerce' ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ) ), $cart_item_key )includes/classes/class-floating-cart-output.php:76 -
Categorized Cart Page For Woocommerce10+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_html__( 'Remove this item', 'woocommerce' ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ) ), $cart_item_key )templates/cart.php:63 -
Manual Orders for Woocommerce10+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), __( 'Remove this item', 'woo-manual-order' ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ) ), $cart_item_key )templates/checkout/cart.php:48 -
C4D Woo Cart Popup & Slide10+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove remove_from_cart_button" aria-label="%s" data-product_id="%s" data-cart_item_key="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), __( 'Remove this item', 'woocommerce' ), esc_attr( $product_id ), esc_attr( $cart_item_key ), esc_attr( $_product->get_sku() ) ), $cart_item_key )templates/popup-cart.php:99 -
Sales UP for WooCommerce10+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove wsp_p_remove" aria-label="%s" data-product_id="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), __( 'Remove this item', 'woocommerce' ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ) ), $cart_item_key )public/class-wc-sales-up-checkout.php:495 -
Quicker10+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove quicker_remove_item" aria-label="%s" data-product_id="%s" data-cart_item_key="%s" data-product_sku="%s"> <svg width="12" height="12" class="cart-remove" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"> <path d="M6 6l12 12M18 6L6 18" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"/> </svg> </a>', esc_url( ... )templates/side-cart/template-1.php:148 -
Cart Popup for WooCommerce10+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="javascript:void(0);" class="wcp_remove_from_cart_button" aria-label="%s" data-product_id="%s" data-cart_item_key="%s" data-product_sku="%s">Remove</a>', __( 'Remove this item', 'woocommerce' ), esc_attr( $product_id ), esc_attr( $cart_item_key ), esc_attr( $_product->get_sku() ) ), $cart_item_key )public/partials/wcp-cart-content.php:65 -
Alter Inventory10+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove" title="%s" data-product_id="%s" data-product_sku="%s">×</a>', esc_url( WC()->cart->get_remove_url( $cart_item_key ) ), __( 'Remove this item', 'woocommerce' ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ) ), $cart_item_key )admin/partials/woocommerce-alter-inventory-custom-cart.php:30 -
wcOne10+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove remove_from_cart_button" aria-label="%s" data-product_id="%s" data-cart_item_key="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_attr__( 'Remove this item', 'wcone' ), esc_attr( $product_id ), esc_attr( $cart_item_key ), esc_attr( $_product->get_sku() ) ), $cart_item_key )template/woocommerce/cart/mini-cart.php:117 -
side cart plus for woocommerce10+ installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf('<a href="%s" class="siwscp_remove" aria-label="%s" data-product_id="%s" data-product_sku="%s" data-cart_item_key="%s">'.$siwscp_delete_icon.'</a>', esc_url(wc_get_cart_remove_url($item)), esc_html__('Remove this item', 'evolve'), esc_attr( $product_id ), esc_attr( $_product->get_sku() ), esc_attr( $item ) ), $item )class-option/siwscp-front-side.php:679 -
Ajax mini cart for WoocommerceFewer than 10 installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="zt-mini-cart__remove-item" aria-label="%s" data-product_id="%s" data-cart_item_key="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), __( 'Remove this item', 'zt-ajax-mini-cart' ), esc_attr( $product_id ), esc_attr( $cart_item_key ), esc_attr( $_product->get_sku() ) ), $cart_item_key )src/zt-front-end.php:72 -
SamplyFewer than 10 installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_html__( 'Remove this item', 'woocommerce' ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ) ), $cart_item_key )includes/Frontend/views/woocommerce/cart/cart.php:51 -
Ajax Floating CartFewer than 10 installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove_from_cart_button" aria-label="%s" data-product_id="%s" data-cart_item_key="%s" data-product_sku="%s">Remove</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_attr__( 'Remove this item', 'woocommerce' ), esc_attr( $product_id ), esc_attr( $cart_item_key ), esc_attr( $_product->get_sku() ) ), $cart_item_key )template/woocommerce/cart/mini-cart.php:59 -
Fine MCPFewer than 10 installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove" aria-label="%s" data-product_id="%s" data-cart_item_key="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_attr__( 'Remove this item', 'flavors-engine' ), esc_attr( $product_id ), esc_attr( $cart_item_key ) ), $cart_item_key )includes/modules/theme-builder/handlers/mini-cart-fragments.php:146 -
Cresta Checkout for WooCommerceFewer than 10 installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a role="button" href="%1$s" class="remove cbc-link cbc-remove" data-cbc-remove="%2$s" aria-label="%3$s">%4$s</a>', esc_url( wc_get_cart_remove_url( $key ) ), esc_attr( $key ), esc_attr( sprintf( __( 'Remove %s from cart', 'cresta-checkout-for-woocommerce' ), wp_strip_all_tags( $name ) ) ), esc_html__( 'Remove', 'cresta-checkout-for-woocommerce' ) ), $key )inc/blocks/blocks-cart.php:182 -
StoreBoosterFewer than 10 installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="ttsb-fly-cart-remove-item" aria-label="%s" data-cart-item-key="%s" data-product_id="%s" data-product_sku="%s"></a>', esc_url( wc_get_cart_remove_url( $ttsb_cart_item_key ) ), esc_html__( 'Remove this item', 'storebooster' ), esc_attr( $ttsb_cart_item_key ), esc_attr( $ttsb_product_id ), esc_attr( $ttsb_product->get_sku() ) ), $ttsb_cart_item_key )templates/cart/cart-contents.php:139 -
PaymentIQ CheckoutFewer than 10 installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_html__( 'Remove this item', 'woocommerce' ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ) ), $cart_item_key )templates/paymentiq-cart-page.php:51 -
Portus Cart PageFewer than 10 installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf('<a role="button" href="%s" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s">×</a>', esc_url(wc_get_cart_remove_url($portus_key)), esc_attr(sprintf( __('Remover %s do carrinho', 'portus-cart-page'), wp_strip_all_tags($portus_name))), esc_attr($portus_product_id), esc_attr($portus_product->get_sku())), $portus_key )templates/cart.php:29 -
YayCheckoutFewer than 10 installs
apply_filters( 'woocommerce_cart_item_remove_link', self::remove_link_html( $product, $cart_item_key ), $cart_item_key )includes/Renderer/CheckoutFragments.php:1088 -
Arshida Toolkit for WooCommerceFewer than 10 installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a class="arshida-cart-item-remove" href="%s" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s" data-cart_item_key="%s"><i class="arshida-icon-remove"></i></a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_html__( 'Remove this item', 'arshida' ), esc_attr( $_product->get_id() ), esc_attr( $_product->get_sku() ), $cart_item_key, ), $cart_item_key )src/WC/Checkout/Main.php:366 -
FoodMaster LiteFewer than 10 installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove remove_from_cart_button" aria-label="%s" data-product_id="%s" data-cart_item_key="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_attr__( 'Remove this item', 'foodmaster-restaurant-ordering' ), esc_attr( $product_id ), esc_attr( $cart_item_key ), esc_attr( $_product->get_sku() ) ), $cart_item_key )inc/func/shortcode.php:1259 -
Aiolos Checkout for WooCommerceFewer than 10 installs
apply_filters( 'woocommerce_cart_item_remove_link', $link, $key )src/Cart/CartItem.php:367 -
WPHobby WooCommerce Mini CartFewer than 10 installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove remove_from_cart_button" aria-label="%s" data-product_id="%s" data-cart_item_key="%s" data-product_sku="%s"><i class="flaticon-close"></i></a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), __( 'Remove this item', 'wphobby-woo-mini-cart' ), esc_attr( $product_id ), esc_attr( $cart_item_key ), esc_attr( $_product->get_sku() ) ), $cart_item_key )cart/mini-cart.php:69 -
IPS Cart&Checkout for WooCommerceFewer than 10 installs
apply_filters( 'woocommerce_cart_item_remove_link', 'PLACEHOLDER', $this->item_key )includes/classes/Front/Sidecart/SidecartItem.php:115 -
YeeMenuFewer than 10 installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a role="button" href="%s" class="remove remove_from_cart_button" aria-label="%s" data-product_id="%s" data-cart_item_key="%s" data-product_sku="%s" data-success_message="%s">×</a>', esc_url(wc_get_cart_remove_url($cart_item_key)), esc_attr(sprintf(__('Remove %s from cart', 'woocommerce'), wp_strip_all_tags($product_name))), esc_attr($product_id), esc_attr($cart_item_key), esc_a... )woocommerce/templates/cart/mini-cart.php:45 -
Ajax instant buy checkout for WooCommerceFewer than 10 installs
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove_product" aria-label="%s" data-cart_item_key="%s" data-product_id="%s" data-product_sku="%s">' . '<svg class="fstchk-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.3 5.71c-.39-.39-1.02-.39-1.41 0L12 10.59 7.11 5.7c-.39-.39-1.02-.39-1.41 0-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L12 13.41... )template/cart.php:34
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.