do_action( ‘wp_update_application_password’, int $user_id, array $item, array $update )

In this article

Fires when an application password is updated.

Parameters

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

Source

do_action( 'wp_update_application_password', $user_id, $item, $update );

Changelog

VersionDescription
6.8.0The password is now hashed using wp_fast_hash() instead of phpass.
Existing passwords may still be hashed using phpass.
5.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.