implode( ' ', $classes ), 'style' => sprintf( '--hp-gap: %s; --hp-direction: %s;', esc_attr( $gap ), esc_attr( $direction === 'horizontal' ? 'row' : 'column' ) ), ] ); $allowed_types = [ 'text', 'email', 'number', 'date', 'textarea', 'tel', 'url' ]; ob_start(); ?>