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