woocommerce_cart_item_removed_because_modified_message хук-фильтрWC 1.0

Использование

add_filter( 'woocommerce_cart_item_removed_because_modified_message', 'wp_kama_woocommerce_cart_item_removed_because_modified_message_filter', 10, 2 );

/**
 * Function for `woocommerce_cart_item_removed_because_modified_message` filter-hook.
 * 
 * @param  $message 
 * @param  $product 
 *
 * @return 
 */
function wp_kama_woocommerce_cart_item_removed_because_modified_message_filter( $message, $product ){

	// filter...
	return $message;
}
$message
-
$product
-

Где вызывается хук

WC_Cart_Session::get_cart_from_session()
woocommerce_cart_item_removed_because_modified_message
woocommerce/includes/class-wc-cart-session.php 194
$message = apply_filters( 'woocommerce_cart_item_removed_because_modified_message', $message, $product );

Где используется хук в WooCommerce

Использование не найдено.