Tag: cli

  • Add user admin with password admin

    When I test client sites I need to re-create this site on my local machine. I often use Duplicator plugin to get full backup of client site with files and database dump. I need a login to WordPress too. Sometimes client create a login for me, but sometimes not. This is a code which allow to change password for user “admin” or create the user “admin” with password “admin”. […]