WP HOOKS
filtrod 3.0.0

signup_blog_init

Args 1Plik wp-signup.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters the default site creation variables for the site sign-up form.

Parametry

ParametrTypOpis
$signup_blog_defaultsarray{ 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
}

Popularne w tej kategorii