Server IP : 104.21.14.103 / Your IP : 3.144.38.120 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/dangky.bnnagency.com/wp-content/themes/flatsome/inc/admin/options/shop/ |
Upload File : |
<?php Flatsome_Option::add_section( 'payment-icons', array( 'title' => __( 'Payments Icons', 'flatsome-admin' ), 'description' => 'Note: This is not where you select payment methods. These are graphical icons that show which payment methods your shop supports. You can add these anywhere by using the shortcode [ux_payment_icons]', 'panel' => 'woocommerce', ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'sortable', 'settings' => 'payment_icons', 'label' => __( 'Payment Icons', 'flatsome-admin' ), 'section' => 'payment-icons', 'transport' => $transport, 'multiple' => 99, 'default' => array( 'visa', 'paypal', 'stripe', 'mastercard', 'cashondelivery' ), 'choices' => flatsome_get_payment_icons_list(), ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'image', 'settings' => 'payment_icons_custom', 'label' => __( 'Custom Icons (Replace)', 'flatsome-admin' ), 'section' => 'payment-icons', 'default' => '', 'transport' => $transport, ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'multicheck', 'settings' => 'payment_icons_placement', 'label' => __( 'Placement', 'flatsome-admin' ), 'description' => __( 'Select where you want to show the payment icons', 'flatsome-admin' ), 'section' => 'payment-icons', 'default' => '', 'choices' => array( 'footer' => __( 'Absolute Footer', 'flatsome-admin' ), 'cart' => __( 'Cart Sidebar', 'flatsome-admin' ), ), ) );