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.
Defined at: - Introduced in WordPress: 6.1.0
- Deprecated in WordPress: —
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.