apply_filters( 'block_bindings_supported_attributes', string[] $supported_block_attributes, string $block_type )
- Since
- 6.9.0
Filters the supported block attributes for block bindings.
Compatibility
- WordPress
- since 6.9.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in 3 of the 5 tracked releases, added in 6.9.0.
Parameters
$supported_block_attributesstring[]- The block's attributes that are supported by block bindings.
$block_typestring- The block type whose attributes are being filtered.
Where this hook fires · 1
wp-includes/block-bindings.php:167get_block_bindings_supported_attributes()
Source code
<?php * * @since 6.9.0 * * @param string[] $supported_block_attributes The block's attributes that are supported by block bindings. * @param string $block_type The block type whose attributes are being filtered. */ $supported_block_attributes = apply_filters( 'block_bindings_supported_attributes', $supported_block_attributes, $block_type ); /**Changelog
Introduced in 6.9.0. Unchanged from 6.9.7 through 7.1.0.
Signature, return type and hooks compared across 3 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.