Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




wp_hash [ WordPress Function ]

wp_hash ( $data, $scheme = 'auth' )
Parameters:
  • (string) $data Plain text to hash
Uses:
Returns:
  • (string) Hash of $data
Defined at:



Get hash of given string.

Source


<?php
function wp_hash($data$scheme 'auth') {
    
$salt wp_salt($scheme);

    return 
hash_hmac('md5'$data$salt);
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics