PluginProbe
HTTP Headers / 1.10.2
HTTP Headers v1.10.2
1.19.5 trunk 1.0.0 1.1.0 1.1.1 1.1.2 1.10.0 1.10.1 1.10.2 1.10.3 1.10.4 1.10.5 1.11.0 1.12.0 1.12.1 1.12.2 1.13.0 1.13.1 1.13.2 1.13.3 1.13.4 1.14.0 1.14.1 1.14.2 1.15.0 All 60 releases
http-headers / views / index.php

index.php in HTTP Headers 1.10.2, at views/index.php

30 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if (!defined('ABSPATH')) {
3 exit;
4 }
5 ?>
6 <div class="wrap">
7 <h1>HTTP Headers</h1>
8 <p><?php _e('Quick links', 'http-headers'); ?>:
9 <a href="https://zinoui.com/blog/http-headers-for-wordpress" target="_blank" title="HTTP Headers"><?php _e('Getting started', 'http-headers'); ?></a>,
10 <a href="<?php echo get_admin_url(); ?>options-general.php?page=http-headers&amp;tab=advanced"><?php _e('Advanced settings', 'http-headers'); ?></a>,
11 <a href="<?php echo get_admin_url(); ?>options-general.php?page=http-headers&amp;tab=manual"><?php _e('Manual setup', 'http-headers'); ?></a>,
12 <a href="<?php echo get_admin_url(); ?>options-general.php?page=http-headers&amp;tab=inspect"><?php _e('Inspect headers', 'http-headers'); ?></a>
13 </p>
14 <?php
15 if (isset($_GET['header']) && !empty($_GET['header']))
16 {
17 include dirname(__FILE__) . '/header.php';
18 } elseif (isset($_GET['tab']) && $_GET['tab'] == 'advanced') {
19 include dirname(__FILE__) . '/advanced.php';
20 } elseif (isset($_GET['tab']) && $_GET['tab'] == 'manual') {
21 include dirname(__FILE__) . '/manual.php';
22 } elseif (isset($_GET['tab']) && $_GET['tab'] == 'inspect') {
23 include dirname(__FILE__) . '/inspect.php';
24 } elseif (isset($_GET['category'])) {
25 include dirname(__FILE__) . '/category.php';
26 } else {
27 include dirname(__FILE__) . '/dashboard.php';
28 }
29 ?>
30 </div>