WP HOOKS
akcjaod 5.6.0

wp_update_application_password

Args 3Plik wp-includes/class-wp-application-passwords.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Fires when an application password is updated.

Parametry

ParametrTypOpis
$user_idintThe user ID.
$itemarray{ The updated application password details. @type string $uuid The unique identifier for the application password. @type string $app_id A UUID provided by the application to uniquely identify it. @type string $name The name of the application password. @type string $password A one-way hash of the password. @type int $created Unix timestamp of when the password was created. @type int|null $last_used The Unix timestamp of the GMT date the application password was last used. @type string|null $last_ip The IP address the application password was last used by. }
$updatearrayThe information to update.

Wywołanie

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

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

Popularne w tej kategorii