How to Relabel WordPress’ “Publish” Button for Custom Post Types

3 minute read For my WordPress plugin Print My Blog, I wanted to change WordPress’ “Publish” button to instead say “Save”, and it was complicated enough to merit sharing a blog post. My Situation The plugin registered a custom post type called “Print Material”, which isn’t publicly visible on the website. So the button “Publish” was misleading because […]

Read More How to Relabel WordPress’ “Publish” Button for Custom Post Types

How To Profile PHP Applications with Xdebug, Laragon, and Q Cache Grind

7 minute read When trying to speed up your PHP web applications, it sure helps to know where the bottle necks are. That’s where Xdebug and Q Cache Grind can help: they can tell you which functions and class methods are taking up the most time and memory, how many times they’re called, and who called them. With this information, it’s far easier to speed up your code than “shooting in the dark” by just trying to optimize everything.

Read More How To Profile PHP Applications with Xdebug, Laragon, and Q Cache Grind

Is Blogging in Conflict with Privacy? (Or, How to Effectively Use Password-Protected Posts)

4 minute read I enjoy blogging but I’ve had mixed feelings about sharing details about others that they might not want to be so publicly accessible. In this post I’ll describe my thoughts on blogging vs privacy, and how I balance the two. What Is The Purpose of a Blog Anyway? I’ve written an entire post on this, […]

Read More Is Blogging in Conflict with Privacy? (Or, How to Effectively Use Password-Protected Posts)