Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snippet: How to filter the output of a Block Binding #345

Open
bph opened this issue Nov 21, 2024 · 0 comments
Open

Snippet: How to filter the output of a Block Binding #345

bph opened this issue Nov 21, 2024 · 0 comments
Assignees

Comments

@bph
Copy link
Collaborator

bph commented Nov 21, 2024

Discussed in #341

Originally posted by ndiego November 18, 2024
This snippet would show developers how to use the get_value_callback property of the register_block_bindings_source() function and the block_bindings_source_value filter to modify the output of a Block Binding on the front end. This snippet will provide a solution for implementations like this:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants