wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
wp_hash_password_algorithm › WordPress Filter Hooks
Seit7.0.0
Veraltetn/v
› apply_filters( 'wp_hash_password_algorithm', PASSWORD_BCRYPT )
| Parameter: |
|
| Definiert in: |
|
| Codex: |
Filters the hashing algorithm to use in the password_hash() and password_needs_rehash() functions.
The default is the value of the `PASSWORD_BCRYPT` constant which means bcrypt is used. **Important:** The only password hashing algorithm that is guaranteed to be available across PHP installations is bcrypt. If you use any other algorithm you must make sure that it is available on the server. The `password_algos()` function can be used to check which hashing algorithms are available. The hashing options can be controlled via the {@see 'wp_hash_password_options'} filter. Other available constants include: - `PASSWORD_ARGON2I` - `PASSWORD_ARGON2ID` - `PASSWORD_DEFAULT`Ähnliche Funktionen: wp_hash_password, get_the_password_form, wp_ajax_send_password_reset, wp_set_password, wp_lostpassword_url, wp_get_password_hint
Ähnliche Hooks: wp_hash_password_options, the_password_form, wp_set_password, lostpassword_form, post_password_required