Filters the options passed to the password_hash() and password_needs_rehash() functions.
$optionsarray$algorithmstringwp-includes/pluggable.php:2698wp_hash_password()wp-includes/pluggable.php:2815wp_password_needs_rehash() * * @param 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. * @param string $algorithm The hashing algorithm in use. */ $options = apply_filters( 'wp_hash_password_options', array(), $algorithm ); // Algorithms other than bcrypt don't need to use pre-hashing. if ( PASSWORD_BCRYPT !== $algorithm ) { return password_hash( $password, $algorithm, $options ); }Introduced in 6.8.0. 2 changes between 6.8.8 and 7.1.0.
Signature, return type and hooks compared across 4 parsed releases.
$algorithm retyped from string|int to string.verified against source$algorithm retyped from string to string|int.verified against source