WP_Block_Supports::init()
Initializes the block supports. It registers the block supports block attributes.
Method of the class: WP_Block_Supports{}
No Hooks.
Return
null
. Nothing (null).
Usage
$result = WP_Block_Supports::init();
Changelog
Since 5.6.0 | Introduced. |
WP_Block_Supports::init() WP Block Supports::init code WP 6.6.2
public static function init() { $instance = self::get_instance(); $instance->register_attributes(); }