Languages such as PHP have methods for de-duplicating arrays, but Javascript strangely does not. In PHP, you can write. array_uniqueAnd this …
Creating a Custom WordPress REST API Endpoint That Can Accept Spaces
The WordPress REST API is one of my favourite features in WordPress. The ability to create custom endpoints for getting data and other …
Don’t Back Projects on Kickstarter Until Supply Chains Are Fixed
The world might be attempting to get back to normal under the "new normal" label, but supply chains are still absolutely busted. As we head …
Querying WordPress Multisite Sites With Meta Queries
WordPress documentation is usually robust. However, recently I had a use case where I needed to query sites by custom meta values. In …
Get Advanced Custom Field Options by Site ID in WordPress Multisite
Out of the box, Advanced Custom Fields offers immense power but provides no functions to work with WordPress Multisite sites. Fortunately, …
The Most Efficient Way to Bulk Delete Things in WordPress
What is the most efficient way to delete thousands of posts, custom post types, media attachments and other things in WordPress? The answer …
My Experience Writing a Long-Running PHP Script to Parse News Content From the Associated Press News API
Filed under: super-specific use case with hints of generality for those wanting to write long-running PHP scripts. For a little while …
How to Work With DATETIME Values in JavaScript
Dates in Javascript have always been a PITA. It is one of the reasons that libraries like MomentJS reigned supreme for so long. Things are …
The Whole of Twitch (and a bunch of other affiliated sites) Has Been Leaked
If you thought the CD Projekt Red leak of Cyberpunk 2077 and other source code was bad, get a load of this latest leak. Twitch just got …