field, array( 'top_icon' => '', 'right_icon' => '', 'left_icon' => '', 'bottom_icon' => '', 'all_icon' => '', 'top_placeholder' => esc_html__( 'top', 'post-carousel' ), 'right_placeholder' => esc_html__( 'right', 'post-carousel' ), 'bottom_placeholder' => esc_html__( 'bottom', 'post-carousel' ), 'left_placeholder' => esc_html__( 'left', 'post-carousel' ), 'all_placeholder' => esc_html__( 'all', 'post-carousel' ), 'top' => true, 'left' => true, 'bottom' => true, 'right' => true, 'all' => false, 'color' => true, 'style' => true, 'styles' => array( 'Soft-crop', 'Hard-crop' ), 'units' => array( 'px', '%', 'em' ), 'min' => '0', ) ); $default_values = array( 'top' => '', 'right' => '', 'bottom' => '', 'left' => '', 'color' => '', 'style' => 'solid', 'all' => '', 'min' => '', 'unit' => 'px', ); $border_props = array( 'solid' => esc_html__( 'Solid', 'post-carousel' ), 'dashed' => esc_html__( 'Dashed', 'post-carousel' ), 'dotted' => esc_html__( 'Dotted', 'post-carousel' ), 'double' => esc_html__( 'Double', 'post-carousel' ), 'inset' => esc_html__( 'Inset', 'post-carousel' ), 'outset' => esc_html__( 'Outset', 'post-carousel' ), 'groove' => esc_html__( 'Groove', 'post-carousel' ), 'ridge' => esc_html__( 'ridge', 'post-carousel' ), 'none' => esc_html__( 'None', 'post-carousel' ), ); $default_values = ( ! empty( $this->field['default'] ) ) ? wp_parse_args( $this->field['default'], $default_values ) : $default_values; $value = wp_parse_args( $this->value, $default_values ); $unit = ( count( $args['units'] ) === 1 && ! empty( $args['unit'] ) ) ? $args['units'][0] : ''; $is_unit = ( ! empty( $unit ) ) ? ' spf--is-unit' : ''; echo wp_kses_post( $this->field_before() ); $min = ( isset( $args['min'] ) ) ? ' min="' . $args['min'] . '"' : ''; echo '