HTTP/2 302
server: nginx
date: Wed, 23 Jul 2025 13:11:12 GMT
content-type: text/html; charset=UTF-8
x-olaf: ⛄
expires: Wed, 11 Jan 1984 05:00:00 GMT
cache-control: no-cache, must-revalidate, max-age=0, no-store, private
x-redirect-by: WordPress
location: https://developer.wordpress.org/reference/hooks/wp_hash_password_options/
x-frame-options: SAMEORIGIN
alt-svc: h3=":443"; ma=86400
x-nc: MISS ord 2
HTTP/2 200
server: nginx
date: Wed, 23 Jul 2025 13:11:12 GMT
content-type: text/html; charset=UTF-8
vary: Accept-Encoding
x-olaf: ⛄
link:
; rel="https://api.w.org/"
link:
; rel="alternate"; title="JSON"; type="application/json"
link: ; rel=shortlink
x-frame-options: SAMEORIGIN
content-encoding: gzip
alt-svc: h3=":443"; ma=86400
x-nc: MISS ord 2
wp_hash_password_options – Hook | Developer.WordPress.org
apply_filters ( ‘wp_hash_password_options’, array $options , string $algorithm )
Filters the options passed to the password_hash() and password_needs_rehash() functions.
The default hashing algorithm is bcrypt, but this can be changed via the ‘wp_hash_password_algorithm’ filter. You must ensure that the options are appropriate for the algorithm in use.
$options
array Array of options to pass to the password hashing functions.
By default this is an empty array which means the default options will be used.
$algorithm
string The hashing algorithm in use.
Version Description 6.8.0 Introduced.
User Contributed Notes
You must log in before being able to contribute a note or feedback.