Blocks for ACF Fields exposes WordPress filter hooks at every important stage of a block’s render pipeline — when its attributes are read, when its raw field value is loaded, when its output HTML is assembled, and at several block-type-specific moments in between.
Block-level filters
Filter Purpose afb/attributes Filter block attributes for every ACF field block. afb/value Filter the raw field value loaded from ACF, before any per-format processing. afb/output Filter the final HTML produced by every ACF field block. afb/settings/carousel Filter the Swiper.js carousel config for all carousel layouts (Repeater, Gallery, Post/Term/User Loop). afb/settings/masonry Filter the Macy.js masonry config (used by the Gallery Masonry layout). afb/settings/map Filter the Google Maps JS config (center, zoom, marker, styles) for the Map display format.
Display-format-specific filters
Filter Display Format Purpose afb/button/text Button The resolved button-label text after “Use the URL / field / custom” resolution. afb/embed-popup/embed_html Embed Popup The resolved oEmbed HTML before it’s injected into the popup template. afb/accordion/icon Repeater Accordion SVG markup for the open/close toggle icon.