wpmu_signup_blog_notification хук-фильтр . WP 3.0.0
Filters whether to bypass the new site email notification.
Использование
add_filter( 'wpmu_signup_blog_notification', 'filter_function_name_2225', 10, 7 ); function filter_function_name_2225( $domain, $path, $title, $user_login, $user_email, $key, $meta ){ // filter... return $domain; }
- $domain(строка/true/false)
- Site domain.
- $path(строка)
- Site path.
- $title(строка)
- Site title.
- $user_login(строка)
- User login name.
- $user_email(строка)
- User email address.
- $key(строка)
- Activation key created in wpmu_signup_blog().
- $meta(массив)
- Signup meta data. By default, contains the requested privacy setting and lang_id.
Список изменений
С версии 3.0.0 | Введена. |
Где вызывается хук
wpmu_signup_blog_notification
wp-includes/ms-functions.php 939
if ( ! apply_filters( 'wpmu_signup_blog_notification', $domain, $path, $title, $user_login, $user_email, $key, $meta ) ) {