newblogname

过滤钩子


apply_filters( 'newblogname', $blogname )
参数
  • (string)
    $blogname
    Site name.
    Required:
定义位置
  • wp-includes/ms-functions.php
    , line 689
引入
MU (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.

$blogname = apply_filters( 'newblogname', $blogname );