wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_hash_password_options › WordPress Filter Hooks

Da7.0.0
Deprecaton/a
› apply_filters( 'wp_hash_password_options', array()
Parametri: (2)
  • () 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.
    Richiesto: Sì
  • () algorithm The hashing algorithm in use.
    Richiesto: Sì
Definito a:
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.




Sorgenti

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