2612functionwp_hash_password($password){2613global$wp_hasher;26142615if(empty($wp_hasher)){2616require_onceABSPATH.WPINC.'/class-phpass.php';2617// By default, use the portable hash from phpass.2618$wp_hasher=newPasswordHash(8,true);2619}26202621return$wp_hasher->HashPassword(trim($password));2622}
History
Introduced in 2.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
Parsed data
Generated from the wordpress-develop 6.7.7 tag, from src/wp-includes/pluggable.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.