newblogname хук-фильтр . WP 3.0.0
Filters the new site name during registration.
The name is the site's subdomain or the site's subdirectory path depending on the network settings.
Использование
add_filter( 'newblogname', 'filter_function_name_356' ); function filter_function_name_356( $blogname ){ // filter... return $blogname; }
- $blogname(строка)
- Site name.
Список изменений
С версии 3.0.0 | Введена. |
Где вызывается хук
wp-includes/ms-functions.php 698
$blogname = apply_filters( 'newblogname', $blogname );