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/shortcodes/ux_badge.php
<?php

// Shortcode to hotspot

add_ux_builder_shortcode( 'ux_hotspot', array(
    'name' => 'Badge',
    'category' => __( 'Elements' ),

   'presets' => array(
        array(
            'name' => __( 'Normal' ),
            'content' => '[ux_badge text_top="Enter text" text_main="Sale" text_bottom="text_bottom"]'
        ),
    ),

    'options' => array(

    )
) );