Core Function
View Source on Trac ↗ wp_apply_generated_classname_support()
wp_apply_generated_classname_support( mixed $block_type ) Adds the generated classnames to the output.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $block_type WP_Block_Type | Block Type. Required |
Return Value
(array)
Block CSS classes and inline styles.
Function Information
Since Version
5.6.0
Source File
wp-includes/block-supports/generated-classname.php
Advertisement