WP HOOKS
akcjaod 6.3.0

wp_update_user

Args 3Plik wp-includes/user.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Fires after the user has been updated and emails have been sent.

Parametry

ParametrTypOpis
$user_idintThe ID of the user that was just updated.
$userdataarrayThe array of user data that was updated.
$userdata_rawarrayThe unedited array of user data that was updated.

Wywołanie

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

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

Popularne w tej kategorii