woocommerce_add_to_cart_notice_type filter-hookWC 1.0

Usage

add_filter( 'woocommerce_add_to_cart_notice_type', 'wp_kama_woocommerce_add_to_cart_notice_type_filter' );

/**
 * Function for `woocommerce_add_to_cart_notice_type` filter-hook.
 * 
 * @param  $string 
 *
 * @return 
 */
function wp_kama_woocommerce_add_to_cart_notice_type_filter( $string ){

	// filter...
	return $string;
}
$string
-

Where the hook is called

wc_add_to_cart_message()
woocommerce_add_to_cart_notice_type
woocommerce/includes/wc-cart-functions.php 141
wc_add_notice( $message, apply_filters( 'woocommerce_add_to_cart_notice_type', 'success' ) );

Where the hook is used in WooCommerce

Usage not found.