woocommerce_cart_item_removed_title filter-hook . WC 1.0
translators: %s: Item name.
Usage
add_filter( 'woocommerce_cart_item_removed_title', 'filter_function_name_3724', 10, 2 ); function filter_function_name_3724( $sprintf(), $cart_item ){ // filter... return $sprintf(); }
- $sprintf()
- -
- $cart_item
- -
Where the hook is called
woocommerce_cart_item_removed_title
woocommerce/includes/class-wc-form-handler.php 623
$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 );