acf_blocks.register

/ Utility / acf_blocks.register

This shortcode is available from version 1.3.5 onwards.

This is used to register the UI service blocks as Gutenberg blocks using ACF Blocks.

service_handler is the required service handler that will be responsible for rendering the output of this block. While the parameters below are the JSON format for key-value pair that can be passed to  acf_register_block_type.

Important points

  1. If you pass render_template to the acf_blocks than the rending will not be handled by the service specified in service_handler.
  2. acf_blocks.register shortcode is used within ‘gutenberg-blocks‘ module of the awesome core post type.
Categories
Most Popular

Leave a Reply

Your email address will not be published. Required fields are marked *