| Server IP : 213.186.33.4 / Your IP : 216.73.216.222 Web Server : Apache System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : karinebmkh ( 644538) PHP Version : 8.4.22 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/karinebmkh/www/wp-content/plugins/polylang/include/Options/ |
Upload File : |
<?php
/**
* @package Polylang
*/
namespace WP_Syntex\Polylang\Options;
defined( 'ABSPATH' ) || exit;
/**
* Polylang's options registry.
*
* @since 3.7
*/
class Registry {
protected const OPTIONS = array(
// URL modifications.
Business\Force_Lang::class,
Business\Domains::class,
Business\Hide_Default::class,
Business\Rewrite::class,
Business\Redirect_Lang::class,
// Detect browser language.
Business\Browser::class,
// Media.
Business\Media_Support::class,
// Custom post types and taxonomies.
Business\Post_Types::class,
Business\Taxonomies::class,
// Synchronization.
Business\Sync::class,
// Internal.
Business\Default_Lang::class,
Business\Nav_Menus::class,
Business\Language_Taxonomies::class,
// Read only.
Business\First_Activation::class,
Business\Previous_Version::class,
Business\Version::class,
);
/**
* Registers Polylang's options.
*
* @since 3.7
*
* @param Options $options Instance of the options.
* @return void
*/
public static function register( Options $options ): void {
array_map( array( $options, 'register' ), static::OPTIONS );
}
}