WordPress at Your Fingertips
function is not described

woocommerce_template_single_add_to_cart() WC 1.0

Trigger the single product add to cart action.

Hooks from the function

Return

null. Nothing.

Usage

woocommerce_template_single_add_to_cart();

Code of woocommerce_template_single_add_to_cart() WC 5.8.0

function woocommerce_template_single_add_to_cart() {
	global $product;
	do_action( 'woocommerce_' . $product->get_type() . '_add_to_cart' );
}