apply_block_core_search_border_style


apply_block_core_search_border_style ( $attributes, $property, $side, $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.
  • (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:

Description

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, block_core_gallery_render, block_core_heading_render

Top Google Results

User discussions

wpseek mobile