woocommerce_cart_item_removed_title filter-hookWC 1.0

translators: %s: Item name.

Usage

add_filter( 'woocommerce_cart_item_removed_title', 'wp_kama_woocommerce_cart_item_removed_title_filter', 10, 2 );

/**
 * Function for `woocommerce_cart_item_removed_title` filter-hook.
 * 
 * @param  $sprintf() 
 * @param  $cart_item 
 *
 * @return 
 */
function wp_kama_woocommerce_cart_item_removed_title_filter( $sprintf(), $cart_item ){

	// filter...
	return $sprintf();
}
$sprintf()
-
$cart_item
-

Where the hook is called

WC_Form_Handler::update_cart_action()
woocommerce_cart_item_removed_title
woocommerce/includes/class-wc-form-handler.php 641
$item_removed_title = apply_filters( 'woocommerce_cart_item_removed_title', $product ? sprintf( _x( '“%s”', 'Item name in quotes', 'woocommerce' ), $product->get_name() ) : __( 'Item', 'woocommerce' ), $cart_item );

Where the hook is used in WooCommerce

Usage not found.