WP_Block_Supports::init() WordPress Method
The WP_Block_Supports::init() method is used to initialize the block support infrastructure for a given block.
WP_Block_Supports::init() #
Initializes the block supports. It registers the block supports block attributes.
Source
File: wp-includes/class-wp-block-supports.php
public static function init() { $instance = self::get_instance(); $instance->register_attributes(); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
5.6.0 | Introduced. |