WP_Block_Supports::init() – Initializes the block supports. It registes the block supports block attributes.

You appear to be a bot. Output may be restricted

Description

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

Usage

WP_Block_Supports::init();

Parameters

Returns

void

Source

File name: wordpress/wp-includes/class-wp-block-supports.php
Lines:

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

 View on GitHub View on Trac