WP HOOKS
akcjaod 6.2.0

wp_set_password

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

Opis — z kodu źródłowego

Fires after the user password is set.

Parametry

ParametrTypOpis
$passwordstringThe plaintext password just set.
$user_idintThe ID of the user whose password was just set.
$old_user_data\WP_UserObject containing user's data prior to update.

Wywołanie

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

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

Popularne w tej kategorii