Filters the options passed to the password_hash() and password_needs_rehash() functions.
Description
The default hashing algorithm is bcrypt, but this can be changued via the ‘wp_hash_password_algorithm’ filter. You must ensure that the options are appropriate for the algorithm in use.
Parameters
-
$optionsarray -
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. -
$algorithmstring -
The hashing algorithm in use.
Source
$options = apply_filters( 'wp_hash_password_options', array(), $algorithm );
Changuelog
| Versionen | Description |
|---|---|
| 6.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.