What Is New in WordPress 6.6
| Category | Key Highlights |
|---|---|
| New Features | Block Binding API, Pattern Overrides, Synced Pattern enhancements, Font Library in Classic themes |
| Improvements | Data Views for Pages, Block Manager search, Performance gains, Toolbar updates |
| Developer Experience | New wp_interactivity() function, WP_HTML_Tag_Processor improvements, Script Modules API |
| Bug Fixes | Over 120+ bug fixes across the editor, design tools, and core |
What is the Block Binding API?
The Block Binding API is the headliner for developers in 6.6. It finally provides a stable, core method to connect block attributes to dynamic data sources. You're no longer limited to hardcoded content in blocks like the Paragraph or Heading.
In practice, this means you can bind a block's text to a custom field, a site option, or even a pattern's attribute. This is a foundational step towards truly dynamic, data-driven blocks without needing a full custom block build.
The API is extensible, allowing you to register your own custom sources using wp.blockBindings.registerSource. This opens up a ton of possibilities for theme and plugin developers to integrate with external data.
How do Pattern Overrides change theming?
Pattern Overrides solve a major pain point with synced patterns. You can now designate specific parts of a pattern as editable while the rest remains locked and synced. This is a game-changer for creating flexible, client-friendly page templates.
For example, you can build a hero section pattern but mark the headline and button text as overridable. Editors can then customize those bits on a per-page basis without breaking the pattern's structure or style. It makes synced patterns infinitely more practical for real-world use.
What Interactivity API updates should I know?
The Interactivity API gets a new, more developer-friendly function: wp_interactivity(). This is the recommended way to namespace your interactive code and interact with the API's store, moving beyond the direct wp_interactivity global.
They've also shipped the wp-data-controls script module, which provides directives for common data operations like data-wp-nav. These updates solidify the API's position as the modern way to add lightweight reactivity to blocks and themes.
Are there performance improvements?
Yes, 6.6 includes measurable performance wins. The Styles system has been optimized, reducing the amount of generated CSS and improving memory usage. For developers, the WP_HTML_Tag_Processor is now significantly faster when dealing with large HTML documents.
These might not be flashy, but they contribute to a snappier admin and frontend experience, especially on complex sites. Every millisecond shaved off core processing adds up.
What about the new Font Library for Classic themes?
This is a big usability win. The Font Library, previously only available in Site Editor-enabled themes, is now available to all classic themes through the Appearance menu. Users can now visually manage and install fonts without touching code.
For theme authors, this means you can rely on a standard, core interface for font management instead of building your own custom solution. It democratizes a powerful design tool across the entire WordPress ecosystem.
FAQ
Is the Block Binding API a replacement for Dynamic Blocks?
Not exactly. Think of it as a complementary tool. The API is perfect for simpler use cases where you just need to swap static text in a core block with data from a known source. For complex UIs or fully custom markup, building a dynamic block is still the way to go.
How do I start using the new Script Modules API?
The API, which provides a standardized way to manage JavaScript dependencies, is currently used internally by core. While not yet fully documented for public use, it's the foundation for future core development. Keep an eye on upcoming documentation for when it's ready for prime time.
Can I use Pattern Overrides with my existing synced patterns?
Yes, but you'll need to revisit them. You define which attributes are overridable directly in the pattern's code by adding an `overridable` property to the attribute definition in the `block.json` file or the pattern source.
What's the deal with the new Data Views for Pages?
This applies to the Pages list in the admin. It introduces the same table and grid views already available for Posts, making content management more consistent. It's a quality-of-life improvement for site editors managing large numbers of pages.
Are any functions deprecated in 6.6?
This release focuses on adding new APIs rather than removing old ones. Always check the official release notes for the most current list, but no major, widely-used functions were deprecated in this specific version.