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:

Description

Returns color classnames depending on whether there are named or custom text and background colors.

Related Functions

get_border_color_classes_for_block_core_search, get_typography_classes_for_block_core_search, classnames_for_block_core_search, get_typography_styles_for_block_core_search, styles_for_block_core_search

Top Google Results

User discussions

wpseek mobile