File: /home/mobilech/alliancelaptoptraining.com.np/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>