WP_Application_Passwords::set_user_application_passwords( int $user_id, array $passwords )

Sets a users application passwords.


Parameters Parameters

$user_id

(int) (Required) User ID.

$passwords

(array) (Required) Application passwords.


Top ↑

Return Return

(bool)


Top ↑

Source Source

File: wp-includes/class-wp-application-passwords.php

	protected static function set_user_application_passwords( $user_id, $passwords ) {
		return update_user_meta( $user_id, static::USERMETA_KEY_APPLICATION_PASSWORDS, $passwords );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
5.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.