akcjaod 6.3.0
wp_update_user
Opis — z kodu źródłowego
Fires after the user has been updated and emails have been sent.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$user_id | int | The ID of the user that was just updated. |
$userdata | array | The array of user data that was updated. |
$userdata_raw | array | The 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
}
// 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