WP HOOKS
filtrod 4.8.0

signup_user_meta

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

Opis — z kodu źródłowego

Filters the metadata for a user signup.

The metadata will be serialized prior to storing it in the database.

Parametry

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

Wywołanie

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

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