WPDev.one
Core Function
View Source on Trac ↗

apply_block_core_search_border_style()

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

This generates a CSS rule for the given border property and side if provided.

Parameters 6 required

Name / Type Description
$attributes
array

The block attributes.

Required
$property
string

Border property to generate rule for e.g. width or color.

Required
$side
string

Optional side border. The dictates the value retrieved and final CSS property.

Required
$wrapper_styles
array

Current collection of wrapper styles.

Required
$button_styles
array

Current collection of button styles.

Required
$input_styles
array

Current collection of input styles.

Required

Return Value

(void)
No return value description available.

Function Information

Since Version
6.1.0
Source File
wp-includes/blocks/search.php
Advertisement