Page 1 of 1

Block hooks are now available

Posted: Sat Apr 05, 2025 4:49 am
by oariful1997
WordPress 6.4 brings block hook functionality to developers.

Named after the hooks feature in the WordPress core API, block hooks allow developers to dynamically extend blocks.

For example, extensions can add their own options to a block. The block's Settings panel will display these options, and users can enable or disable them.

Disable auto-inserted blocks
Modified under the hood
WordPress 6.4 also includes several developer-focused changes. Here are some mobile phone number data updated 2025 of the most significant under-the-hood changes.

New admin notification features are introduced. (Details )
The TEMPLATEPATH and STYLESHEETPATH ​​constants are deprecated. (#18298 )
Framework for adding revisions to post meta in WordPress. (#20564 )
Theme developers can configure their own default minimum and maximum view widths for calculating fluid font sizes. (#59048 )
A block hook field is added to block types. (#59346 )
We hope this article helped you explore the new features in WordPress 6.4. We're especially excited about the developer block hooks and all the quality-of-life changes to the block editor that will make it easier for users to create content.

If you liked this article, then please subscribe to our YouTube channel for WordPress video tutorials. You can also find us on Twitter and Facebook .