wp_hash_password

Advertisement

Summery Summery

Create a hash (encrypt) of a plain text password.

Syntax Syntax

wp_hash_password( string $password )

Description Description

For integration with other applications, this function can be overwritten to instead use the other package password checking algorithm.

Parameters Parameters

$password

(string) (Required) Plain text user password to hash

Return Return

(string) The hash string of the password

Source Source

File: wp-includes/pluggable.php

	 *
	 * For integration with other applications, this function can be overwritten to
	 * instead use the other package password checking algorithm.
	 *
	 * @since 2.5.0
	 *
	 * @global PasswordHash $wp_hasher PHPass object
	 *
	 * @param string $password Plain text user password to hash
	 * @return string The hash string of the password
	 */

Advertisement

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.