password_needs_rehash

password_needs_rehash

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.8.3

apply_filters('password_needs_rehash') is found 1 times:

  • /wp-includes/pluggable.php line 2837
    		 * @param bool       $needs_rehash Whether the password hash needs to be rehashed.
    		 * @param string     $hash         The password hash.
    		 * @param string|int $user_id      Optional. ID of a user associated with the password.
    		 */
    		return apply_filters( 'password_needs_rehash', $needs_rehash, $hash, $user_id );
    	}
    endif;
    
    if ( ! function_exists( 'wp_generate_password' ) ) :
    	/**
    	 * Generates a random password drawn from the defined set of characters.