WP_Application_Passwords::hash_password( string $password ): string

In this article

Hashes a plaintext application password.

Parameters

$passwordstringrequired
Plaintext password.

Return

string Hashed password.

Source

public static function hash_password(
	#[\SensitiveParameter]
	string $password
): string {
	return wp_fast_hash( $password );
}

Changelog

VersionDescription
6.8.0Introduced.

User Contributed Notes

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