HEX
Server: LiteSpeed
System: Linux vps30244.sdns.vn 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64
User: admin (1001)
PHP: 7.4.30
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open
Upload Files
File: /home/hcb48/public_html/wp-content/themes/flatsome/inc/builder/shortcodes/ux_nav.php
<?php

add_ux_builder_shortcode( 'ux_nav', array(
  'name' => __( 'Navigation','ux-builder'),
  'category' => __( 'Layout' ),
  'thumbnail' =>  flatsome_ux_builder_thumbnail( 'nav' ),
  'options' => array(
       'parent' => array(
            'type' => 'select',
            'heading' => 'Parent',
            'default' => '',
            'options' => ux_builder_get_page_parents(),
      ),
      'type' => array(
            'type' => 'select',
            'heading' => __( 'Direction','ux-builder' ),
            'default' => 'vertical',
            'options' => array(
                'horizontal' => 'Horizontal',
                'vertical' => 'Vertical',
            )
      ),
      'style' => array(
          'type' => 'select',
          'heading' => __( 'Style','ux-builder'),
          'default' => 'line',
          'options' => require( __DIR__ . '/values/nav-styles.php' ),
      ),
      'align' => array(
          'type' => 'radio-buttons',
          'heading' => 'Text align',
          'default' => 'left',
          'options' => require( __DIR__ . '/values/align-radios.php' ),
      ),
      'size' => array(
          'type' => 'radio-buttons',
          'heading' => __( 'Size' ,'ux-builder'),
          'default' => 'medium',
          'options' => require( __DIR__ . '/values/text-sizes.php' ),
      ),
)
) );