Core Function
View Source on Trac ↗ get_typography_classes_for_block_core_search()
get_typography_classes_for_block_core_search( mixed $attributes ) Returns typography classnames depending on whether there are named font sizes/families.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $attributes array | The block attributes. Required |
Return Value
(string)
The typography color classnames to be applied to the block elements.
Function Information
Since Version
6.1.0
Source File
wp-includes/blocks/search.php
Advertisement