On this page
do_action( 'wp_create_application_password', int $user_id, array $new_item, string $new_password, array $args )
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 unhashed generated application password.
$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
File: wp-includes/class-wp-application-passwords.php. View all references
do_action( 'wp_create_application_password', $user_id, $new_item, $new_password, $args );
Related
Used By
| Used By | Description |
|---|---|
| WP_Application_Passwords::create_new_application_password() wp-includes/class-wp-application-passwords.php | Creates a new application password. |
Changelog
| Version | Description |
|---|---|
| 5.6.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_create_application_password