WordPress at Your Fingertips
action is not described

woocommerce_single_variation action-hook . WC 2.4.0

Hook: woocommerce_single_variation. Used to output the cart button and placeholder for variation data.

Usage

add_action( 'woocommerce_single_variation', 'action_function_name_1944' );
function action_function_name_1944(){
	// action...
}

Changelog

Since 2.4.0 Introduced.

Where the hook is called

In file: /templates/single-product/add-to-cart/variable.php
woocommerce_single_variation
woocommerce/templates/single-product/add-to-cart/variable.php 70
do_action( 'woocommerce_single_variation' );

Where in WP core the hook is used WooCommerce

woocommerce/includes/wc-template-hooks.php 180
add_action( 'woocommerce_single_variation', 'woocommerce_single_variation', 10 );
woocommerce/includes/wc-template-hooks.php 181
add_action( 'woocommerce_single_variation', 'woocommerce_single_variation_add_to_cart_button', 20 );