The function did_filter returns the number of times the filter has been applied in the current request. This helps to check if a filter is already applied or not.
Read More Quick Tip: Using the did_filter FunctionTag: filters
Gutenberg Filters: registerBlockStyle
One of my favorite ways to customize a Gutenberg block is by utilizing registerBlockStyle. It’s a simple Gutenberg filter that can improve styling in the editor or frontend by adding a class name when the Block Style is selected. Not only is...
Read More Gutenberg Filters: registerBlockStyleDebugging WordPress Core: Actions and Filters
Most WordPress developers are familiar with the concept of actions and filters. At the very heart of WordPress, these hooks allow developers to extend the functionality of WordPress in numerous ways. Whether you want to run a process when a post is...
Read More Debugging WordPress Core: Actions and FiltersGetting Started with WordPress Hooks
It is well-known that WordPress is one of the most popular Content Management Systems available for building and maintaining a website. While a big part of that success is due to the ease-of-use, another big part of that is the wide variety of...
Read More Getting Started with WordPress Hooks