wordpress / latest / hooks / wp_create_application_password.html

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_id int
The user ID.
$new_item array
The details about the created password.
  • uuidstring
    The unique identifier for the application password.
  • app_idstring
    A UUID provided by the application to uniquely identify it.
  • namestring
    The name of the application password.
  • passwordstring
    A one-way hash of the password.
  • createdint
    Unix timestamp of when the password was created.
  • last_usednull
    Null.
  • last_ipnull
    Null.
$new_password string
The unhashed generated application password.
$args array
Arguments used to create the application password.
  • namestring
    The name of the application password.
  • app_idstring
    A 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 );

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