Fires when an application password is created.
Parameters
$user_idint- The user ID.
$new_itemarray- The details about the created password.
uuidstringThe unique identifier for the application password.app_idstringA UUID provided by the application to uniquely identify it.namestringThe name of the application password.passwordstringA one-way hash of the password.createdintUnix timestamp of when the password was created.last_usednullNull.last_ipnullNull.
$new_passwordstring- The generated application password in plain text.
$argsarray- Arguments used to create the application password.
namestringThe name of the application password.app_idstringA UUID provided by the application to uniquely identify it.
Source
do_action( 'wp_create_application_password', $user_id, $new_item, $new_password, $args );
Changelog
| Version | Description |
|---|---|
| 6.8.0 | The hashed password value now uses wp_fast_hash() instead of phpass. |
| 5.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.