apply_filters( ‘block_bindings_supported_attributes’, string[] $supported_block_attributes, string $block_type )

In this article

Filters the supported block attributes for block bindings.

Parameters

$supported_block_attributesstring[]
The block’s attributes that are supported by block bindings.
$block_typestring
The block type whose attributes are being filtered.

Source

$supported_block_attributes = apply_filters(
	'block_bindings_supported_attributes',
	$supported_block_attributes,
	$block_type
);

Changelog

VersionDescription
6.9.0Introduced.

User Contributed Notes

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