HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.30
System: Linux iZj6c1151k3ad370bosnmsZ 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64
User: root (0)
PHP: 7.4.30
Disabled: NONE
Upload Files
File: /var/www/html/breadsecret.com/wp-content/plugins/woo-permalink-manager/views/admin/main.php
<?php

if ( ! defined('WPINC')) {
	die;
}
?>
<div class="wrap">
	<h2><?php esc_html_e('WooCommerce Permalink Settings', 'premmerce-url-manager'); ?></h2>

	<?php if (!empty($tabs)) : ?>
		<h2 class="nav-tab-wrapper">
			<?php
			foreach ($tabs as $tabKey => $tabName) :
			$class   = ( $tabKey === $current ) ? ' nav-tab-active' : '';
			$tabLink = '?page=premmerce-url-manager-admin&tab=' . $tabKey; ?>
			<a class='nav-tab<?php echo esc_attr($class); ?>' href='<?php echo esc_url($tabLink); ?>'>
				<?php echo esc_attr($tabName); ?>
			</a>
			<?php
			endforeach;
			if (!premmerce_wpm_fs()->can_use_premium_code()) : //if it is not Premium plan.
				?>
			<a class="nav-tab premmerce-upgrate-to-premium-button"
				href="<?php echo esc_url(admin_url('admin.php?page=premmerce-url-manager-admin-pricing')); ?>">
				<?php esc_html_e('Upgrate to Premium', 'premmerce-url-manager'); ?>
			</a>
			<?php
			endif;
			?>
		</h2>
	<?php endif; ?>

	<?php $file = __DIR__ . "/tabs/{$current}.php"; ?>
	<?php if (file_exists($file)) : ?>
	<?php include $file; ?>
	<?php endif; ?>
</div>