woocommerce_product_add_to_cart_success_message

woocommerce_product_add_to_cart_success_message

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.3.1

apply_filters('woocommerce_product_add_to_cart_success_message') is found 1 times:

  • /includes/class-wc-product-simple.php line 99

    Warning: Undefined array key 101 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 102 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 103 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 104 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    		 * @since 9.2.0
    		 * @param string $text The success message when a product is added to the cart.
    		 * @param WC_Product_Simple $this Reference to the current WC_Product_Simple instance.
    		 */
    		return apply_filters( 'woocommerce_product_add_to_cart_success_message', $text, $this );
    	}
    }