WordPress is not my favorite. But it is useful. If you get locked out, or find yourself in charge of a new site with no one to grant you access, creating a new admin user directly in the database is surprisingly easy. I created this script to make it easy to get setup on new sites that I need to manage.
Recently, we started using a new vendor at work. This particular vendor still uses XML for their API endpoints. I don’t particularly like working with XML in PHP, so I converted it JSON which is much easier to work with.