Server IP : 104.21.14.103 / Your IP : 18.217.193.85 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/giankuin/thietke365.net/wp-content/themes/flatsome/inc/builder/shortcodes/ |
Upload File : |
<?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', ), ) );