Advanced Custom Fields version 6.4 is now available! 🚀🎉
This release brings full support for WooCommerce’s High-Performance Order Storage (HPOS) to ACF PRO, ensuring ACF works seamlessly with the latest WooCommerce features.
WooCommerce HPOS Support
What is HPOS?
WooCommerce version 8.2 and above enables high-performance order storage by default, which means that instead of storing order data in the wp_posts
and wp_postmeta
tables, orders are now stored in custom database tables.
Moving order data to custom tables gives WooCommerce store owners better database performance and scalability, as well as simpler admin tasks like backups and migrations.
ACF Integration
ACF has traditionally used WordPress core functions such as update_metadata()
for storing field values, however these functions will not work with the custom database tables used by HPOS. To get around this, we’ve substantially refactored the way that ACF stores and retrieves field values, and included an integration that uses the methods recommended by WooCommerce.
The scope of this refactor touches both the ACF and ACF PRO codebases, and sets us up for adding similar integrations in the future so ACF can support other plugins as they start to move away from the traditional WordPress database storage pattern.
If you’ve been waiting for this integration before enabling HPOS on your WooCommerce store, you can enable it following these instructions).
WooCommerce HPOS support is a feature of ACF PRO.
Improvements and Fixes
The team have been working hard behind the scenes, and are constantly looking to improve and update the ACF codebase. ACF now uses Composer to autoload PHP files to both simplify the code and increase performance and decrease memory usage.
There’s also a crucial fix for users who have Group fields inside Repeaters that make use of pagination.
And More
To see a full list of all the updates, take a look at the changelog.
What’s Next
The team are working hard on some major features and improvements coming to later releases of ACF. These include being able to create ACF Blocks directly from the plugin admin UI, and a huge improvement to how content editors can edit ACF Blocks fields in the block editor.
If you want to be the first to hear about pre-release versions of these new features for testing, sign up to our beta news email list.
If there’s features or improvements you’d love to see in ACF, please drop them into our feedback board and vote on others that are important to you.
Keep up to date with what we’re working on in our monthly ACF Chat Fridays office hours.
Thanks to everyone in the ACF community who helped make this release possible! 🙌
Are you excited about the new features and improvements in ACF 6.4? Let us know in the comments below or on Twitter.
For plugin support, please contact our support team directly, as comments aren't actively monitored.