apply_block_core_search_border_styles


apply_block_core_search_border_styles ( $attributes, $property, $wrapper_styles, $button_styles, $input_styles )

Parameters:
  • (array) attributes The block attributes.
  • (string) property Border property to generate rule for e.g. width or color.
  • (array) wrapper_styles Current collection of wrapper styles.
  • (array) button_styles Current collection of button styles.
  • (array) input_styles Current collection of input styles.
Returns:
  • (void)
Defined at:

Description

This adds CSS rules for a given border property e.g. width or color. It injects rules into the provided wrapper, button and input style arrays for uniform "flat" borders or those with individual sides configured.

Related Functions

apply_block_core_search_border_style, get_block_core_post_featured_image_border_attributes, render_block_core_search, block_core_gallery_render, get_block_editor_theme_styles

Top Google Results

User discussions

wpseek mobile