“We believe that ACF Blocks is one of the more important features ever added to our plugin,” ACF representative Eric Karkovack said. “It levels the playing field and allows more developers to take advantage of Gutenberg’s key feature.” The feature was designed to allow WordPress developers who use ACF to maintain their current workflow for extending the editor.
ACF Blocks allows developers to register a custom block type from a functions.php file. From there they can create a field group and use any ACF fields in the block. Rendering the block is the same process that’s used for displaying custom fields, with the notable addition of wrapping the HTML + PHP in a function.
The ACF team plans to include the new blocks feature in version 5.8, which is anticipated to arrive in November.