Filters the options passed to the password_hash() and password_needs_rehash() functions.
Description
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.
Parameters
$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.
Source
$options = apply_filters( 'wp_hash_password_options', array(), $algorithm );
Changelog
Version | Description |
---|---|
6.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.