wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_hash_password_options › WordPress Filter Hooks

Seit6.8.0
Veraltetn/v
apply_filters( 'wp_hash_password_options', array()
Parameter: (2)
  • (array) $options 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.
    Erforderlich: Ja
  • (string) $algorithm The hashing algorithm in use.
    Erforderlich: Ja
Definiert in:
Codex:

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 {@see 'wp_hash_password_algorithm'} filter. You must ensure that the options are appropriate for the algorithm in use.





Quellcode

$options = apply_filters( 'wp_hash_password_options', array(), $algorithm );