文件操作 - dashboard-empty.php
返回文件管理
返回主菜单
删除本文件
文件: /home/www/public/wp-content/plugins/tutor/templates/dashboard/instructor/dashboard-empty.php
编辑文件内容
<?php /** * Frontend Empty Dashboard Template * * @package Tutor\Templates * @subpackage Dashboard * @author Themeum <support@themeum.com> * @link https://themeum.com * @since 4.0.0 */ defined( 'ABSPATH' ) || exit; use Tutor\Components\Button; use Tutor\Components\Constants\Size; use Tutor\Components\Constants\Variant; use TUTOR\Icon; use TUTOR\Instructors_List; $instructor_status = tutor_utils()->instructor_status( 0, false ); $instructor_status = is_string( $instructor_status ) ? strtolower( $instructor_status ) : ''; ?> <div class="tutor-dashboard-welcome-card"> <?php if ( Instructors_List::STATUS_APPROVED === $instructor_status ) : ?> <div class="tutor-dashboard-welcome-content"> <h3 class="tutor-h3 tutor-my-4"> <?php printf( // translators: %s: <br />. esc_html__( 'You\'re ready to start %s teaching!', 'tutor' ), '<br />' ); ?> </h3> <p class="tutor-p2 tutor-text-secondary tutor-mb-8"> <?php printf( // translators: %s: <br />. esc_html__( 'Create your first course and share your %s knowledge with learners around the world.', 'tutor' ), '<br />' ); ?> </p> <?php Button::make() ->label( __( 'Create Your First Course', 'tutor' ) ) ->variant( Variant::PRIMARY ) ->size( Size::MEDIUM ) ->icon( Icon::ARROW_RIGHT_2, 'right', 20 ) ->attr( 'class', 'tutor-create-new-course' ) ->render(); ?> </div> <div class="tutor-dashboard-welcome-banner"> <?php tutor_utils()->render_themed_svg( 'images/illustrations/instructor-approved.svg' ); ?> </div> <?php else : ?> <div class="tutor-dashboard-welcome-content" data-tutor-instructor-status="pending"> <h3 class="tutor-h3"> <?php printf( // translators: %s: <br />. esc_html__( 'Thank you for applying to %s become an Instructor!', 'tutor' ), '<br />' ); ?> </h3> <p class="tutor-p2 tutor-text-secondary tutor-mt-4"> <?php printf( // translators: %s: <br />. esc_html__( 'Our team is reviewing your application. Once %1$s approved, you\'ll be able to create and publish %2$s courses.', 'tutor' ), '<br />', '<br />' ); ?> </p> </div> <div class="tutor-dashboard-welcome-banner"> <?php tutor_utils()->render_themed_svg( 'images/illustrations/instructor-pending.svg' ); ?> </div> <?php endif; ?> </div>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件