woocommerce_product_add_to_cart_success_message, $text, $this

woocommerce_product_add_to_cart_success_message, $text, $this

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

apply_filters('woocommerce_product_add_to_cart_success_message, $text, $this') is found 1 times:

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

    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

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

    Warning: Undefined array key 106 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 );
    	}
    }