woocommerce_after_add_to_cart_form │ action-hook │ WC 1.2.1

Fires after the add to cart form of a variable product.

Usage

add_action( 'woocommerce_after_add_to_cart_form', 'wp_kama_woocommerce_after_add_to_cart_form_action' );

/**
 * Function for `woocommerce_after_add_to_cart_form` action-hook.
 * 
 * @return void
 */
function wp_kama_woocommerce_after_add_to_cart_form_action(){
	// action...
}

Changelog

Since 1.2.1 Introduced.

Where the hook is called

In file: /templates/single-product/add-to-cart/variable.php
woocommerce_after_add_to_cart_form
woocommerce/templates/single-product/add-to-cart/variable.php 125
do_action( 'woocommerce_after_add_to_cart_form' );
woocommerce/templates/single-product/add-to-cart/simple.php 54
<?php do_action( 'woocommerce_after_add_to_cart_form' ); ?>
woocommerce/templates/single-product/add-to-cart/grouped.php 145
<?php do_action( 'woocommerce_after_add_to_cart_form' ); ?>
woocommerce/templates/single-product/add-to-cart/external.php 32
<?php do_action( 'woocommerce_after_add_to_cart_form' ); ?>

Where the hook is used in WooCommerce

woocommerce/includes/gateways/paypal/class-wc-gateway-paypal.php 240
add_action( 'woocommerce_after_add_to_cart_form', array( $this, 'render_buttons_container' ) );
woocommerce/src/Internal/StockNotifications/Frontend/ProductPageIntegration.php 63
add_action( 'woocommerce_after_add_to_cart_form', array( $this, 'maybe_render_form' ), 30 );