HEX
Server: Apache
System: Linux ebs-147252 5.10.0-30-amd64 #1 SMP Debian 5.10.218-1 (2024-06-01) x86_64
User: jumuhardware (65594)
PHP: 8.2.20
Disabled: link,symlink,passthru,exec,system,shell_exec,proc_open,popen,pcntl_exec,socket_bind,stream_socket_server,pcntl_fork,pcntl_rfork
Upload Files
File: /home/wwwroot/jumuhardware/wwwroot/wp-content/themes/flatsome/inc/builder/core/server/setup.php
<?php

add_action( 'ux_builder_setup', function () {
  // Register default option types.
  add_ux_builder_option_type( 'checkbox' );
  add_ux_builder_option_type( 'col-slider', array(
   'defaults' => array(
     'min' => 1,
     'max' => 12,
   ),
  ) );
  add_ux_builder_option_type( 'colorpicker' );
  add_ux_builder_option_type( 'file', array(
    'defaults' => array(
      'mime_types' => array()
    ),
  ) );
  add_ux_builder_option_type( 'group', array(
   'class' => 'UxBuilder\Options\Custom\GroupOption',
   'defaults' => array(
     'full_width' => true,
     'options' => array()
   ),
  ) );
  add_ux_builder_option_type( 'gallery' );
  add_ux_builder_option_type( 'image', array(
    'class' => 'UxBuilder\Options\Custom\ImageOption',
    'defaults' => array(
      'thumb_size' => '',
      'bg_position' => '',
    ),
  ) );
  add_ux_builder_option_type( 'text-editor' );
  add_ux_builder_option_type( 'margins', array(
    'defaults' => array(
      'unit' => 'px',
      'simple' => false,
    ),
  ) );
  add_ux_builder_option_type( 'radio-buttons' );
  add_ux_builder_option_type( 'radio-images' );
  add_ux_builder_option_type( 'scrubfield', array(
    'defaults' => array(
      'unit' => 'px',
    ),
  )  );
  add_ux_builder_option_type( 'select', array(
   'class' => 'UxBuilder\Options\Custom\SelectOption',
   'defaults' => array(
     'options' => array()
   ),
  ) );
  add_ux_builder_option_type( 'slider' );
  add_ux_builder_option_type( 'textarea' );
  add_ux_builder_option_type( 'textfield' );
} );