wp_update_application_password action-hookWP 5.6.0

Fires when an application password is updated.

Usage

add_action( 'wp_update_application_password', 'wp_kama_update_application_password_action', 10, 3 );

/**
 * Function for `wp_update_application_password` action-hook.
 * 
 * @param int   $user_id The user ID.
 * @param array $item    The updated app password details.
 * @param array $update  The information to update.
 *
 * @return void
 */
function wp_kama_update_application_password_action( $user_id, $item, $update ){

	// action...
}
$user_id(int)
The user ID.
$item(array)
The updated app password details.
$update(array)
The information to update.

Changelog

Since 5.6.0 Introduced.

Where the hook is called

WP_Application_Passwords::update_application_password()
wp_update_application_password
wp-includes/class-wp-application-passwords.php 273
do_action( 'wp_update_application_password', $user_id, $item, $update );

Where the hook is used in WordPress

Usage not found.