When defining a custom block, the inserter property in block.json can be used to control if the block is available to be inserted by the user or if it can only be added programmatically. In some cases, a custom block is overkill, and a block […]
The Block Bindings API in WordPress provides a powerful way to connect block content with dynamic data sources. Learn how to filter bindings on the front end with this snippet.
Learn how to lock blocks in WordPress and prevent your users from unlocking them. These code snippets are essential for maintaining design consistency.
How to disable the font library for your theme users with just a few lines of code.
WordPress 6.7 allows developers to restrict the heading levels that are available to users in Core blocks. Learn how in this code snippet.
Have you ever run into a situation where you needed to unregister a block pattern in your theme? There may be many scenarios where you’d do this, but one of my primary reasons is to hide the “Your site doesn’t include support for the [Block […]