File: wp-includes/class-wp-block-supports.php
-
functionget_block_wrapper_attributes()
Generates a string of attributes by applying to the current block being rendered all of the features that the block supports.
-
classWP_Block_Supports
Class encapsulating and implementing Block Supports.
-
Utility method to retrieve the main instance of the class.
-
Initializes the block supports. It registers the block supports block attributes.
-
Registers a block support.
-
Generates an array of HTML attributes, such as classes, by applying to the given block all of the features that the block supports.
-
Registers the block attributes required by the different block supports.