woocommerce_before_add_to_cart_button action-hookWC 1.0

Usage

add_action( 'woocommerce_before_add_to_cart_button', 'wp_kama_woocommerce_before_add_to_cart_button_action' );

/**
 * Function for `woocommerce_before_add_to_cart_button` action-hook.
 * 
 * @return void
 */
function wp_kama_woocommerce_before_add_to_cart_button_action(){

	// action...
}

Where the hook is called

In file: /templates/single-product/add-to-cart/simple.php
woocommerce_before_add_to_cart_button
woocommerce/templates/single-product/add-to-cart/simple.php 33
<?php do_action( 'woocommerce_before_add_to_cart_button' ); ?>
woocommerce/templates/single-product/add-to-cart/variation-add-to-cart-button.php 15
<?php do_action( 'woocommerce_before_add_to_cart_button' ); ?>
woocommerce/templates/single-product/add-to-cart/grouped.php 118
<?php do_action( 'woocommerce_before_add_to_cart_button' ); ?>
woocommerce/templates/single-product/add-to-cart/external.php 23
<?php do_action( 'woocommerce_before_add_to_cart_button' ); ?>

Where the hook is used in WooCommerce

Usage not found.