apply_filters( “block_bindings_supported_attributes_{$block_type}”, string[] $supported_block_attributes )

In this article

Filters the supported block attributes for block bindings.

Description

The dynamic portion of the hook name, $block_type, refers to the block type whose attributes are being filtered.

Parameters

$supported_block_attributesstring[]
The block’s attributes that are supported by block bindings.

Source

$supported_block_attributes = apply_filters(
	"block_bindings_supported_attributes_{$block_type}",
	$supported_block_attributes
);

Changelog

VersionDescription
6.9.0Introduced.

User Contributed Notes

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