WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_create_application_password

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/class-wp-application-passwords.php do_action 138 /**
* Fires when an application password is created.
*
* @since 5.6.0
*
* @param int $user_id The user ID.
* @param array $new_item {
* The details about the created password.
*
* @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 null $last_used Null.
* @type null $last_ip Null.
* }
* @param string $new_password The unhashed generated application password.
* @param array $args {
* Arguments used to create the application password.
*
* @type string $name The name of the application password.
* @type string $app_id A UUID provided by the application to uniquely identify it.
* }
*/

Hook Parameters

Parameter Type Name Description
int $user_id The user ID.
array $new_ite m {
string $new_password The unhashed generated application password.
array $arg s {