文件操作 - message.php
返回文件管理
返回主菜单
删除本文件
文件: /var/www/vec.uaysen.cl/html/wp-content/plugins/us-core/config/elements/message.php
编辑文件内容
<?php defined( 'ABSPATH' ) OR die( 'This script cannot be accessed directly.' ); /** * Configuration for shortcode: message */ $design_options_params = us_config( 'elements_design_options' ); /** * @return array */ return array( 'title' => __( 'Message Box', 'us' ), 'category' => __( 'Interactive', 'us' ), 'icon' => 'fas fa-exclamation-circle', 'js_view' => 'VcMessageView', // used in WPBakery editor 'params' => us_set_params_weight( // General section array( 'color' => array( 'title' => us_translate( 'Color' ), 'type' => 'select', 'options' => array( 'blue' => __( 'Blue', 'us' ), 'yellow' => __( 'Yellow', 'us' ), 'green' => __( 'Green', 'us' ), 'red' => __( 'Red', 'us' ), ), 'std' => 'blue', 'usb_preview' => array( 'mod' => 'color', ), ), 'content' => array( 'title' => __( 'Message Text', 'us' ), 'type' => 'textarea', 'holder' => 'div', 'std' => 'I am message box. Click edit button to change this text.', 'usb_preview' => array( 'attr' => 'html', 'elm' => '.w-message-body', ), ), 'icon' => array( 'title' => __( 'Icon', 'us' ), 'type' => 'icon', 'std' => '', 'usb_preview' => TRUE, ), 'closing' => array( 'type' => 'switch', 'switch_text' => __( 'Enable closing', 'us' ), 'std' => FALSE, 'usb_preview' => TRUE, ), ), $design_options_params ), 'usb_init_js' => '$elm.usMessage()', );
修改文件时间
将文件时间修改为当前时间的前一年
删除文件