title: How to get wordpress password hashed from external php code?
body: <p>I need to hash a password using wordpress 5.5.3 method.</p>
  <p>Wordpress uses wp_hash_password function to do it, so I think I can load the wp-load.php and class-phpass.php codes and simply use the function. However, my code doesn't work and returns a blank page:</p>
  <pre><code>$password = &quot;abcdef&quot;;
  require('/wp-includes/class-phpass.php');
  require(&quot;/wp-load.php&quot;);
  
  $hash_password = wp_hash_password($password);
  echo $hash_password;
  </code></pre>
  <p>What's wrong? Someone can help me? Thanks!</p>