apply_block_core_search_border_style ( $attributes, $property, $side, $wrapper_styles, $button_styles, $input_styles )

  • (array) attributes The block attributes.
  • (string) property Border property to generate rule for e.g. width or color.
  • (string) side Optional side border. The dictates the value retrieved and final CSS property.
  • (array) wrapper_styles Current collection of wrapper styles.
  • (array) button_styles Current collection of button styles.
  • (array) input_styles Current collection of input styles.
Defined at:


This generates a CSS rule for the given border property and side if provided.Based on whether the Search block is configured to display the button inside or not, the generated rule is injected into the appropriate collection of styles for later application in the block's markup.

Related Functions

apply_block_core_search_border_styles, get_block_core_avatar_border_attributes, render_block_core_search, styles_for_block_core_search, block_core_gallery_render

Top Google Results

User discussions

wpseek mobile