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

  • (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.
Defined at:


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_avatar_border_attributes, get_block_core_post_featured_image_border_attributes, render_block_core_search, styles_for_block_core_search

Top Google Results

User discussions

wpseek mobile