HEX
Server: Apache/2.4.65 (Debian)
System: Linux kubikelcreative 5.10.0-35-amd64 #1 SMP Debian 5.10.237-1 (2025-05-19) x86_64
User: www-data (33)
PHP: 8.4.13
Disabled: NONE
Upload Files
File: /var/www/Gosurya/wp/wp-content/themes/flatsome/inc/builder/shortcodes/ux_payment_icons.php
<?php
/**
 * UX Builder Shortcodes.
 *
 * Flatsome Payment Icons Element for UX Builder.
 *
 * @author  UX Themes
 * @package Flatsome/UX Builder
 */

add_ux_builder_shortcode( 'ux_payment_icons', array(
	'name'      => __( 'Payment Icons', 'ux-builder' ),
	'category'  => __( 'Shop', 'ux-builder' ),
	'thumbnail' => flatsome_ux_builder_thumbnail( 'payment-icons' ),
	'inline'    => true,
	'wrap'      => false,
	'options'   => array(
		'icons'            => array(
			'type'    => 'select',
			'heading' => 'Icons',
			'default' => get_theme_mod( 'payment_icons', array( 'visa', 'paypal', 'stripe', 'mastercard', 'cashondelivery' ) ),
			'config'  => array(
				'placeholder' => __( 'Select...', 'ux-builder' ),
				'multiple'    => true,
				'sortable'    => true,
				'options'     => flatsome_get_payment_icons_list(),
			),
		),
		'custom'           => array(
			'type'        => 'image',
			'heading'     => __( 'Custom Icons', 'ux-builder' ),
			'description' => __( 'Replace Flatsome Payment Icons', 'ux-builder' ),
			'default'     => '',
		),
		'link_options'     => require __DIR__ . '/commons/links.php',
		'advanced_options' => require __DIR__ . '/commons/advanced.php',
	),
) );