filtrod 3.0.0
signup_blog_init
Opis — z kodu źródłowego
Filters the default site creation variables for the site sign-up form.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$signup_blog_defaults | array | { An array of default site creation variables. @type string $user_name The user username. @type string $user_email The user email address. @type string $blogname The blogname. @type string $blog_title The title of the site. @type WP_Error $errors A WP_Error object with possible errors relevant to new site creation variables. } |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'signup_blog_init', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'signup_blog_init', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii