How to Register ACF Block Types With ACF 6 & ACF Blocks Version 2

Since WordPress 5.8 the recommended method for registering block types is to use a block.json configuration file and the function register_block_type(). ACF 6.0+ adopts this approach. Although the previous approach using a PHP register block function will continue to work for some time, using block.json registration will provide a number of advantages that help make ACF Block Types look and feel closer to native Gutenberg blocks built in React.

, ,