Support custom sources (like acf/field) in the Attributes Panel UI
-
The new Attributes Panel introduced in WordPress 6.7 is great for visually binding block attributes to data sources like custom fields.
But currently, it only works with the default
core/post-meta
source (viaregister_post_meta()
), and does not support custom sources likeacf/field
.What’s the issue?
Even thoughacf/field
bindings work perfectly via the code editor, they are not available in the UI. The panel doesn’t show up for those fields.Example working code:
<!-- wp:paragraph {"metadata":{"bindings":{"content":{"source":"acf/field","args":{"key":"field_67ab390672809"}}}}} -->
<p></p>
<!-- /wp:paragraph -->Request:
Please make the Attributes Panel support all valid sources registered via the Block Bindings API – not justcore/post-meta
. For example:- Detect
acf/field
source - Let users pick ACF fields in the panel UI
- Detect
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.