HEX
Server: LiteSpeed
System: Linux server214.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User: bigisxfd (746)
PHP: 8.4.15
Disabled: NONE
Upload Files
File: /home/bigisxfd/public_html/wp-content/themes/flatsome/inc/builder/shortcodes/gap.php
<?php

add_ux_builder_shortcode( 'gap', array(
    'name' => __( 'Gap' ),
    'thumbnail' =>  flatsome_ux_builder_thumbnail( 'gap' ),
    'info' => '{{ height }}',
    'allow_in' => array('text_box'),
    'wrap' => false,

    'options' => array(

        'height' => array(
            'type' => 'scrubfield',
            'responsive' => true,
            'heading' => __( 'Height' ),
            'default' => '30px',
            'min' => 0,
            'on_change' => array(
                'style' => 'padding-top: {{ value }}'
            ),
        ),
        'advanced_options' => require( __DIR__ . '/commons/advanced.php'),
    ),
) );