WordPress at a glance
function is not described

WP_Block_Supports::init() public WP 5.6.0

Initializes the block supports. It registes 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 5.7.2

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