wp_apply_colors_support


wp_apply_colors_support ( $block_type, $block_attributes )

Access:
  • private
Parameters:
  • (WP_Block_Type) block_type Block type.
  • (array) block_attributes Block attributes.
Returns:
  • (array) Colors CSS classes and inline styles.
Defined at:

Description

Add CSS classes and inline styles for colors to the incoming attributes array.This will be applied to the block markup in the front-end.

Related Functions

wp_apply_typography_support, wp_register_colors_support, wp_apply_alignment_support, wp_apply_custom_classname_support, wp_image_editor_supports

Top Google Results

User discussions

wpseek mobile