WPDev.one
Core Function
View Source on Trac ↗

wp_register_aria_label_support()

wp_register_aria_label_support( mixed $block_type )

Registers the aria-label block attribute for block types that support it.

Parameters 1 required

Name / Type Description
$block_type
WP_Block_Type

Block Type.

Required

Return Value

(void)
No return value description available.

Function Information

Since Version
6.8.0
Source File
wp-includes/block-supports/aria-label.php
Advertisement