文件操作 - Template.php
返回文件管理
返回主菜单
删除本文件
文件: /home/www/public/wp-content/plugins/the-events-calendar/src/Tribe/Event_Status/Template.php
编辑文件内容
<?php /** * Provides a template instance specialized for Event Status templates. * * @since 5.11.0 * * @package Tribe\Events\Event_Status */ namespace Tribe\Events\Event_Status; use Tribe__Events__Main as Events_Plugin; /** * Class Template * * @since 5.11.0 * * @package Tribe\Events\Event_Status */ class Template extends \Tribe__Template { /** * Template constructor. * * @since 5.11.0 */ public function __construct() { $this->set_template_origin( tribe( 'tec.main' ) ); $this->set_template_folder( 'src/views/v2/event-status' ); // Setup to look for theme files. $this->set_template_folder_lookup( true ); // Configures this templating class extract variables. $this->set_template_context_extract( true ); } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件