Initializes the block supports. It registers the block supports block attributes.
public static function init() {
$instance = self::get_instance();
$instance->register_attributes();
}
| Version | Description |
|---|---|
| 5.6.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_block_supports/init