newuser_notify_siteadmin хук-фильтр . WP 3.0.0
Filters the message body of the new user activation email sent to the network administrator.
Использование
add_filter( 'newuser_notify_siteadmin', 'filter_function_name_3091', 10, 2 ); function filter_function_name_3091( $msg, $user ){ // filter... return $msg; }
- $msg(строка)
- Email body.
- $user(WP_User)
- WP_User instance of the new user.
Список изменений
С версии 3.0.0 | Введена. |
Где вызывается хук
newuser_notify_siteadmin
wp-includes/ms-functions.php 1524
$msg = apply_filters( 'newuser_notify_siteadmin', $msg, $user );