It's 2023, and we still have no simple way to insert Gutenberg blocks into WordPress using wp_insert_post. You're out of luck if you want to …
Wordpress
Programmatically Update the Status of a Post Using Gutenberg JS
In a WordPress project I am building, I needed a way to programmatically update the post status of a post on the edit screen, specifically …
How to Hide Meta Boxes in WordPress Gutenberg
When WordPress introduced the Gutenberg editor, it was a mess, to say the least. Everything was turned upside for developers and things that …
How to programmatically populate a TinyMCE Advanced Custom Fields field in WordPress
The Advanced Custom Fields plugin for WordPress is invaluable. It has filled a gap in WordPress for the better part of a decade and is one …
Programmatically Clicking the “Convert to Blocks” Button in WordPress Gutenberg on the Edit Screen
In the beginning, I was one of the loud developers protesting WordPress Gutenberg. But, now that Gutenberg has been around for a while, I've …
How to debug the output from within WordPress filters
WordPress has a great actions and filters system allowing you to create injection points for modifying parts of your code (especially for …
Creating Site Meta Search In WordPress Multisite using Site Queries
WordPress is incredibly powerful, and every so often, a new feature gets added that goes under the radar that can dramatically change how …
Programmatically Create New Sites In WordPress Multisite
In WordPress, creating new sites from the admin interface can be tedious, especially if you want to add custom metadata to sites/ACF option …
How to change the theme directory on a WordPress installation
The beauty in WordPress is not only its ecosystem. It's the ability to customise almost every facet of it using a filter or hook. I had a …