W3cubDocs

/WordPress

apply_filters( ‘newblogname’, string $blogname )

Filters the new site name during registration.

Description

The name is the site’s subdomain or the site’s subdirectory path depending on the network settings.

Parameters

$blognamestring
Site name.

Source

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

Changelog

Version Description
MU (3.0.0) Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/newblogname