WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
фильтр не описан

woocommerce_add_(notice_type) хук-фильтр . WC 1.0

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

add_filter( 'woocommerce_add_(notice_type)', 'filter_function_name_5332' );
function filter_function_name_5332( $message ){
	// filter...

	return $message;
}
$message
-

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

wc_add_notice()
woocommerce_add_(notice_type)
wc_print_notice()
woocommerce_add_(notice_type)
woocommerce/includes/wc-notice-functions.php 85
$notices[ $notice_type ][] = apply_filters( 'woocommerce_add_' . $notice_type, $message );
woocommerce/includes/wc-notice-functions.php 169
'messages' => array( apply_filters( 'woocommerce_add_' . $notice_type, $message ) ),

Где используется хук (в ядре WC)

includes/class-wc-cart-session.php 56
add_action( 'woocommerce_add_to_cart', array( $this, 'maybe_set_cart_cookies' ) );
includes/class-wc-cart.php 112
add_action( 'woocommerce_add_to_cart', array( $this, 'calculate_totals' ), 20, 0 );
includes/class-wc-form-handler.php 810
remove_action( 'woocommerce_add_to_cart', array( WC()->cart, 'calculate_totals' ), 20, 0 );
includes/class-wc-form-handler.php 817
add_action( 'woocommerce_add_to_cart', array( WC()->cart, 'calculate_totals' ), 20, 0 );
includes/class-wc-shortcodes.php 506
add_filter( 'woocommerce_add_to_cart_form_action', '__return_empty_string' );
includes/class-wc-shortcodes.php 580
remove_filter( 'woocommerce_add_to_cart_form_action', '__return_empty_string' );
includes/wc-cart-functions.php 27
add_filter( 'woocommerce_add_to_cart_validation', 'wc_protected_product_add_to_cart', 10, 2 );