Changeset 52236 for trunk/src/wp-includes/class-wp-block-supports.php
- Timestamp:
- 11/23/2021 09:35:57 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-block-supports.php
r51246 r52236 59 59 60 60 /** 61 * Initializes the block supports. It registe s the block supports block attributes.61 * Initializes the block supports. It registers the block supports block attributes. 62 62 * 63 63 * @since 5.6.0 … … 73 73 * @since 5.6.0 74 74 * 75 * @param string $block_support_name Block support name.75 * @param string $block_support_name Block support name. 76 76 * @param array $block_support_config Array containing the properties of the block support. 77 77 */ … … 89 89 * @since 5.6.0 90 90 * 91 * @return arrayArray of HTML attributes.91 * @return string[] Array of HTML attributes. 92 92 */ 93 93 public function apply_block_supports() { … … 164 164 * @since 5.6.0 165 165 * 166 * @param array $extra_attributes Optional. Extra attributes to render on the block wrapper. 167 * 168 * @return string String of HTML classes. 166 * @param string[] $extra_attributes Optional. Array of extra attributes to render on the block wrapper. 167 * @return string String of HTML attributes. 169 168 */ 170 169 function get_block_wrapper_attributes( $extra_attributes = array() ) {
Note: See TracChangeset
for help on using the changeset viewer.