WP HOOKS
akcjaod 4.4.0

after_signup_user

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

Opis — z kodu źródłowego

Fires after a user's signup information has been written to the database.

Parametry

ParametrTypOpis
$userstringThe user's requested login name.
$user_emailstringThe user's email address.
$keystringThe user's activation key.
$metaarraySignup meta data. Default empty array.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_action( 'after_signup_user', 'twoja_funkcja', 10, 4 );

function twoja_funkcja($param_1, $param_2, $param_3, $param_4) {
	// Twój kod
}