Core Function
View Source on Trac ↗ _block_bindings_post_meta_get_value()
_block_bindings_post_meta_get_value( array $source_args, mixed $block_instance ) Gets value for Post Meta source.
Parameters 2 required
| Name / Type | Description |
|---|---|
| array | $source_args Array containing source arguments used to look up the override value. Example: array( "key" => "foo" ). Required |
| $block_instance WP_Block | The block instance. Required |
Return Value
(mixed)
The value computed for the source.
Function Information
Since Version
6.5.0
Source File
wp-includes/block-bindings/post-meta.php
Advertisement