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

Docs: Update block-filters.md #38462

Merged
merged 3 commits into from Apr 1, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/reference-guides/filters/block-filters.md
Expand Up @@ -85,7 +85,7 @@ The following filters are available to change the behavior of blocks while editi

A filter that applies to the result of a block's `save` function. This filter is used to replace or extend the element, for example using `wp.element.cloneElement` to modify the element's props or replace its children, or returning an entirely new element.

The filter's callback receives an element, a block type and the block attributes as arguments. It should return an element.
The filter's callback receives an element, a block definition object and the block attributes as arguments. It should return an element.
gziolo marked this conversation as resolved.
Show resolved Hide resolved

#### `blocks.getSaveContent.extraProps`

Expand Down