WP_Block_Supports::init()public staticWP 5.6.0

Initializes the block supports. It registers the block supports block attributes.

{} It's a method of the class: WP_Block_Supports{}

No Hooks.

Return

null. Nothing.

Usage

$result = WP_Block_Supports::init();

Changelog

Since 5.6.0 Introduced.

Code of WP_Block_Supports::init() WP 6.0

public static function init() {
	$instance = self::get_instance();
	$instance->register_attributes();
}