文件操作 - css.php
返回文件管理
返回主菜单
删除本文件
文件: /var/www/vec.uaysen.cl/html/wp-content/plugins/us-core/usof/templates/fields/css.php
编辑文件内容
<?php defined( 'ABSPATH' ) OR die( 'This script cannot be accessed directly.' ); /** * Theme Options Field: Css * * Simple textarea field. * * @var $name string Field name * @var $id string Field ID * @var $field array Field options * * @param $field ['title'] string Field title * @param $field ['description'] string Field title * * @var $value string Current value */ $params = array( 'editor' => FALSE, ); if ( function_exists( 'wp_enqueue_code_editor' ) ) { $params['editor'] = wp_enqueue_code_editor( array( 'type' => 'text/css', // https://codemirror.net/doc/manual.html#config 'codemirror' => array( 'viewportMargin' => 100, 'lineWrapping' => TRUE ), ) ); } $output = '<div class="usof-form-row-control-params"' . us_pass_data_to_js( $params ) . '></div>'; $output .= '<textarea name="' . $name . '">' . esc_textarea( $value ) . '</textarea>'; echo $output;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件