woocommerce_cart_item_removed_notice_type хук-фильтр . WC 1.0
Использование
add_filter( 'woocommerce_cart_item_removed_notice_type', 'filter_function_name_6888' ); function filter_function_name_6888( $string ){ // filter... return $string; }
- $string
- -
Где вызывается хук
woocommerce_cart_item_removed_notice_type
woocommerce/includes/class-wc-form-handler.php 635
wc_add_notice( $removed_notice, apply_filters( 'woocommerce_cart_item_removed_notice_type', 'success' ) );