wp_hash

Advertisement

Summery Summery

Get hash of given string.

Syntax Syntax

wp_hash( string $data, string $scheme = 'auth' )

Parameters Parameters

$data

(string) (Required) Plain text to hash

$scheme

(string) (Optional) Authentication scheme (auth, secure_auth, logged_in, nonce)

Default value: 'auth'

Return Return

(string) Hash of $data

Source Source

File: wp-includes/pluggable.php

if ( ! function_exists( 'wp_hash' ) ) :
	/**
	 * Get hash of given string.
	 *

Advertisement

Changelog Changelog

Changelog
Version Description
2.0.3 Introduced.

Advertisement

Leave a Reply

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