All features
Cherry Blossom feature
ACF: Blocks
Registers configured block directories and their optional ACF field groups.
Registers configured block directories and their optional ACF field groups.
Capabilities and extension points
Registers block type and field-group hooks.
Gets block directory names relative to the configured block root.
Filter cherry/blossom/acf/blocks to adjust the list. Each directory should contain block.json and may supply a fields.php file returning a field group.
- return string[] Block directory names.
Registers block types with WordPress.
Registers block ACF local field group, if one exists.
Source reference
This editable reference page is based on the PHP documentation in plugins/advanced-custom-fields/class-blocks.php.