HEX
Server: Apache
System: Linux webm014.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: circuix (152771)
PHP: 8.0.30
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/circuix/adrRc/wp-content/plugins/weglot/src/helpers/class-helper-menu-options-weglot.php
<?php

namespace WeglotWP\Helpers;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}


/**
 * @since 2.4.0
 */
abstract class Helper_Menu_Options_Weglot {

	/**
	 * @var string
	 */
	const HIDE_CURRENT = 'hide_current';

	/**
	 * @var string
	 */
	const DROPDOWN = 'dropdown';

	/**
	 * @since 2.4.0
	 * @static
	 * @return array
	 */
	public static function get_menu_switcher_list_options() {
		return apply_filters(
			'weglot_menu_switcher_options',
			array(
				array(
					'key'   => self::HIDE_CURRENT,
					'title' => __( 'Hide the current language', 'weglot' ),
				),
			)
		);
	}

	/**
	 * @since 2.4.0
	 * @static
	 * @return array
	 */
	public static function get_keys() {
		return apply_filters(
			'weglot_menu_switcher_options_keys',
			array(
				self::HIDE_CURRENT,
				self::DROPDOWN,
			)
		);
	}
}