apply_filters( ‘block_bindings_source_value’, mixed $value, string $name, array $source_args, WP_Block $block_instance, string $attribute_name )

In this article

Filters the output of a block bindings source.

Parameters

$valuemixed
The computed value for the source.
$namestring
The name of the source.
$source_argsarray
Array containing source arguments used to look up the override value, i.e. { "key": "foo" }.
$block_instanceWP_Block
The block instance.
$attribute_namestring
The name of an attribute.

Source

return apply_filters( 'block_bindings_source_value', $value, $this->name, $source_args, $block_instance, $attribute_name );

Changelog

VersionDescription
6.7.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.