get_color_classes_for_block_core_search
get_color_classes_for_block_core_search ( $attributes )
Parameters:- (array) attributes The block attributes.
Returns:- (string) The color classnames to be applied to the block elements.
Defined at: - Introduced in WordPress: 5.9.0
- Deprecated in WordPress: —
Description
Returns color classnames depending on whether there are named or custom text and background colors.