woocommerce_after_add_to_cart_form
Использование
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... }
Где вызывается хук
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/external.php 32
<?php do_action( 'woocommerce_after_add_to_cart_form' ); ?>
woocommerce/templates/single-product/add-to-cart/grouped.php 127
<?php do_action( 'woocommerce_after_add_to_cart_form' ); ?>
woocommerce/templates/single-product/add-to-cart/variable.php 85
do_action( 'woocommerce_after_add_to_cart_form' );