文件操作 - account-header.php
返回文件管理
返回主菜单
删除本文件
文件: /home/www/public/wp-content/plugins/tutor/templates/account-header.php
编辑文件内容
<?php /** * Base Template for Account * * @package Tutor\Templates * @author Themeum <support@themeum.com> * @link https://themeum.com * @since 4.0.0 */ defined( 'ABSPATH' ) || exit; use TUTOR\Icon; use Tutor\Components\Button; use Tutor\Components\Constants\Size; use Tutor\Components\Constants\Variant; ?> <div class="tutor-account-header"> <div class="tutor-account-container"> <div class="tutor-flex tutor-items-center tutor-justify-between"> <?php Button::make() ->label( __( 'Back', 'tutor' ) ) ->variant( Variant::GHOST ) ->size( Size::X_SMALL ) ->tag( 'a' ) ->icon( Icon::LEFT, 'left', 20 ) ->icon_only() ->flip_rtl() ->attr( 'href', esc_url( $back_url ) ) ->render(); ?> <h4 class="tutor-account-header-title"> <?php echo esc_html( $page_data['title'] ?? '' ); ?> </h4> <?php Button::make() ->label( __( 'Close', 'tutor' ) ) ->variant( Variant::GHOST ) ->size( Size::X_SMALL ) ->tag( 'a' ) ->icon( Icon::CROSS, 'left', 20 ) ->icon_only() ->attr( 'href', esc_url( $close_url ) ) ->render(); ?> </div> </div> </div>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件