Using the supported attributes hook in WP 6.9 to make blocks bindable #436
justintadlock
started this conversation in
Topic Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
WordPress introduced the
block_bindings_supported_attributes_{$block_type}andblock_bindings_supported_attributeshooks, which essentially let you make any block and one or more of its attributes bindable.The hook doesn't take much to document. What the this tutorial needs is a solid use case. One that was just brought to my attention was the potential to make a featured video. That'd make a good tutorial that combined:
Beta Was this translation helpful? Give feedback.
All reactions