woocommerce_register_form
Использование
add_action( 'woocommerce_register_form', 'wp_kama_woocommerce_register_form_action' ); /** * Function for `woocommerce_register_form` action-hook. * * @return void */ function wp_kama_woocommerce_register_form_action(){ // action... }
Где вызывается хук
В файле: /templates/myaccount/form-login.php
woocommerce_register_form
woocommerce/templates/myaccount/form-login.php 103
<?php do_action( 'woocommerce_register_form' ); ?>
Где используется хук в WooCommerce
woocommerce/includes/wc-template-hooks.php 298
add_action( 'woocommerce_register_form', 'wc_registration_privacy_policy_text', 20 );
woocommerce/src/Internal/Orders/OrderAttributionController.php 115
add_action( 'woocommerce_register_form', array( $this, 'source_form_elements' ) );