| Server IP : 146.59.209.152 / Your IP : 216.73.216.46 Web Server : Apache System : Linux webm005.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 : infrafs ( 43850) PHP Version : 8.2.29 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/infrafs/INFRABIKEDE/wp-content/plugins/weglot/src/helpers/ |
Upload File : |
<?php
namespace WeglotWP\Helpers;
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Name pages
*
* @since 2.0
*/
abstract class Helper_Tabs_Admin_Weglot {
/**
* @var string
*/
const SETTINGS = 'settings';
/**
* @var string
*/
const STATUS = 'status';
/**
* @var string
*/
const CUSTOM_URLS = 'custom-urls';
/**
* @var string
*/
const SUPPORT = 'support';
/**
* Get full tabs information
* @static
* @since 2.0
*
* @return array
*/
public static function get_full_tabs() {
return array(
self::SETTINGS => array(
'title' => __( 'Settings', 'weglot' ),
'url' => get_admin_url( null, sprintf( 'admin.php?page=%s&tab=%s', Helper_Pages_Weglot::SETTINGS, self::SETTINGS ) ),
),
self::STATUS => array(
'title' => __( 'Status', 'weglot' ),
'url' => get_admin_url( null, sprintf( 'admin.php?page=%s&tab=%s', Helper_Pages_Weglot::SETTINGS, self::STATUS ) ),
),
self::CUSTOM_URLS => array(
'title' => __( 'Custom URLs', 'weglot' ),
'url' => get_admin_url( null, sprintf( 'admin.php?page=%s&tab=%s', Helper_Pages_Weglot::SETTINGS, self::CUSTOM_URLS ) ),
),
);
}
}