WP HOOKS
filtrod MU (3.0.0)

wpmu_validate_blog_signup

Args 1Plik wp-includes/ms-functions.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters site details and error messages following registration.

Parametry

ParametrTypOpis
$resultarray{ Array of domain, path, site name, site title, user and error messages. @type string $domain Domain for the site. @type string $path Path for the site. Used in subdirectory installations. @type string $blogname The unique site name (slug). @type string $blog_title Site title. @type string|WP_User $user By default, an empty string. A user object if provided. @type WP_Error $errors WP_Error containing any errors found. }

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'wpmu_validate_blog_signup', 'twoja_funkcja' );

function twoja_funkcja($param_1) {
	// Twój kod
}