Creating a Custom WordPress Post Status
I needed to create a custom post status for a project, which I never had to do before. The WP documentation points you in the right direction but does not give you a complete example given that support for this has actually been a work in progress for over a decade (see #12706 – WordPress…
Simple PHP IP Geolocation using KeyCDN Tools
I needed an easy way to get IP location from a PHP form submission for work. KeyCDN has these awesome tools that anyone can use, and one of them included an API for their IP Location Finder. Of course, it’s rate limited to 3 requests per second, but I think that is plenty for my…
Ajax Unit Tests for WordPress Plugin Development
The past couple of days I was having a hard time figuring out why my unit tests for AJAX were giving me an error stating Serialization of ‘Closure’ is not allowed. I’ve since fixed it and wanted to post about it because why not. Things I installed: This is the actual test class I was…
Installing Docker Desktop on Pop_OS! 22.04
When trying to install Docker Desktop on Linux the other day using the .deb file and Eddy, I got this generic error code 100 (Sorry, I forgot to take a screenshot). And I could not figure out what it was. This is my first real time at attempting to use a Linux distro as a…
Deploying WordPress in the Google App Engine Flexible Environment
Google actually has a guide for this. But when I was following along, I ran into some issues with the deploy process because certain composer packages require PHP>=8.0. Finally…I have figured out how to do this now without running into build errors. Currently Supported PHP Versions Unfortunately, the App Engine Flexible environment does not currently…
