WP_Block_Supports::init()

Initializes the block supports. It registes 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();
	}

Changelog

Version Description
5.6.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_block_supports/init