Skip to content

Commit

Permalink
Docs: Add post meta limitations to Block Bindings API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshupathak95 committed Jan 10, 2025
1 parent b80c1e9 commit 694f450
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/reference-guides/block-api/block-bindings.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ An example could be connecting an Image block `url` attribute to a function that
} -->
```

<div class="callout callout-alert">
<strong>Note:</strong> Post meta keys that begin with an underscore (e.g. `_example_key`) are protected and cannot be used with Block Bindings. Additionally, post meta must be registered with `show_in_rest = true` to be available through the Block Bindings API.
</div>

## Compatible blocks and their attributes

Expand Down

0 comments on commit 694f450

Please sign in to comment.