| Server IP : 94.16.115.136 / Your IP : 216.73.217.106 Web Server : Apache/2.4.52 (Ubuntu) System : Linux rogerrabbit 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64 User : bkillingseder ( 1001) PHP Version : 8.1.2-1ubuntu2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /srv/web/www/sites/silentroots/html/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 );
}
}