woocommerce_register_form_tag
Использование
add_action( 'woocommerce_register_form_tag', 'wp_kama_woocommerce_register_form_tag_action' ); /** * Function for `woocommerce_register_form_tag` action-hook. * * @return void */ function wp_kama_woocommerce_register_form_tag_action(){ // action... }
Где вызывается хук
В файле: /templates/myaccount/form-login.php
woocommerce_register_form_tag
woocommerce/templates/myaccount/form-login.php 72
<form method="post" class="woocommerce-form woocommerce-form-register register" <?php do_action( 'woocommerce_register_form_tag' ); ?> >