filtrod MU (3.0.0)
newblogname
Opis — z kodu źródłowego
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.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$blogname | string | Site name. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'newblogname', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'newblogname', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}