- WordPress 6.9.4 (es_ES) with Kadence theme - Homepage: Hero, La Asociación, Pilares, Beneficios, Eventos, Miembros, Hazte Miembro, Contacto - Brand identity: #13294b navy, #a12932 burgundy, #c69c48 gold - Fonts: Raleway (headings) + Source Sans 3 (body) + Lato (UI) - Plugins: Kadence Blocks, Polylang, Contact Form 7 - Custom CSS with full brand styling and responsive layout - HTTPS enforced via wp-config.php proxy detection
39 lines
656 B
PHP
39 lines
656 B
PHP
<?php
|
|
/**
|
|
* @package Polylang
|
|
*/
|
|
|
|
namespace WP_Syntex\Polylang\Model;
|
|
|
|
use PLL_Language;
|
|
|
|
defined( 'ABSPATH' ) || exit;
|
|
|
|
/**
|
|
* Interface allowing to proxy the list of languages.
|
|
*
|
|
* @since 3.8
|
|
*/
|
|
interface Languages_Proxy_Interface {
|
|
/**
|
|
* Returns the proxy's key.
|
|
*
|
|
* @since 3.8
|
|
*
|
|
* @return string
|
|
*
|
|
* @phpstan-return non-falsy-string
|
|
*/
|
|
public function key(): string;
|
|
|
|
/**
|
|
* Returns the list of available languages after passing it through this proxy.
|
|
*
|
|
* @since 3.8
|
|
*
|
|
* @param PLL_Language[] $languages List of languages to filter.
|
|
* @return PLL_Language[]
|
|
*/
|
|
public function filter( array $languages ): array;
|
|
}
|