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();
	}


Top ↑

Changelog

Changelog
VersionDescription
5.6.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.