Core Function
View Source on Trac ↗ wp_apply_aria_label_support()
wp_apply_aria_label_support( mixed $block_type, mixed $block_attributes ) Add the aria-label to the output.
Parameters 2 required
| Name / Type | Description |
|---|---|
| $block_type WP_Block_Type | Block Type. Required |
| $block_attributes array | Block attributes. Required |
Return Value
(array)
Block aria-label.
Function Information
Since Version
6.8.0
Source File
wp-includes/block-supports/aria-label.php
Advertisement