Sets a user’s application passwords.
$user_idintrequired
$passwordsarrayrequired
...$0 arrayuuid stringapp_id stringname stringpassword stringcreated intlast_used int|nulllast_ip string|nullprotected static function set_user_application_passwords( $user_id, $passwords ) {
return update_user_meta( $user_id, static::USERMETA_KEY_APPLICATION_PASSWORDS, $passwords );
}
| Version | Description |
|---|---|
| 5.6.0 | Introduced. |
You must log in before being able to contribute a note or feedback.
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_application_passwords/set_user_application_passwords