woocommerce_customer_reset_password
Использование
add_action( 'woocommerce_customer_reset_password', 'wp_kama_woocommerce_customer_reset_password_action' ); /** * Function for `woocommerce_customer_reset_password` action-hook. * * @param $user * * @return void */ function wp_kama_woocommerce_customer_reset_password_action( $user ){ // action... }
- $user
- -
Где вызывается хук
woocommerce_customer_reset_password
woocommerce/includes/class-wc-form-handler.php 1083
do_action( 'woocommerce_customer_reset_password', $user );