Filters the output of a block bindings source.
Parameters
$value
mixed- The computed value for the source.
$name
string- The name of the source.
$source_args
array- Array containing source arguments used to look up the override value, i.e. { "key": "foo" }.
$block_instance
WP_Block- The block instance.
$attribute_name
string- The name of an attribute.
Source
return apply_filters( 'block_bindings_source_value', $value, $this->name, $source_args, $block_instance, $attribute_name );
Changelog
Version | Description |
---|---|
6.7.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.