Initializes the block supports. It registers the block supports block attributes.
Source
public static function init() {
$instance = self::get_instance();
$instance->register_attributes();
}
Changelog
Version | Description |
---|---|
5.6.0 | Introduced. |
CARVIEW |
Initializes the block supports. It registers the block supports block attributes.
public static function init() {
$instance = self::get_instance();
$instance->register_attributes();
}
Uses | Description |
---|---|
WP_Block_Supports::get_instance()wp-includes/class-wp-block-supports.php | Utility method to retrieve the main instance of the class. |
Version | Description |
---|---|
5.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.