Core Function
View Source on Trac ↗ classnames_for_block_core_search()
classnames_for_block_core_search( mixed $attributes ) Builds the correct top level classnames for the 'core/search' block.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $attributes array | The block attributes. Required |
Return Value
(string)
The classnames used in the block.
Function Information
Since Version
5.6.0
Source File
wp-includes/blocks/search.php
Advertisement