pre_network_site_new_created_user
Fires immediately before a new user is created via the network site-new.php page.
Использование
add_action( 'pre_network_site_new_created_user', 'wp_kama_pre_network_site_new_created_user_action' ); /** * Function for `pre_network_site_new_created_user` action-hook. * * @param string $email Email of the non-existent user. * * @return void */ function wp_kama_pre_network_site_new_created_user_action( $email ){ // action... }
- $email(строка)
- Email of the non-existent user.
Список изменений
С версии 4.5.0 | Введена. |
Где вызывается хук
В файле: /wp-admin/network/site-new.php
wp-admin/network/site-new.php 121
do_action( 'pre_network_site_new_created_user', $email );