Skip to content

Instantly share code, notes, and snippets.

@richjenks
Created April 16, 2016 07:50
Show Gist options
  • Save richjenks/055050f1151c48f60aa6758bea5d958e to your computer and use it in GitHub Desktop.
Save richjenks/055050f1151c48f60aa6758bea5d958e to your computer and use it in GitHub Desktop.
<?php
define('ABSPATH', '/var/www/wordpress/');
require ABSPATH.'wp-includes/pluggable.php';
echo wp_hash_password('new_password');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment