| Server IP : 85.112.90.236 / Your IP : 192.168.1.26 Web Server : Apache System : Linux 85-112-90-236.cprapid.com 6.12.0-211.7.3.el10_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 12:46:58 EDT 2026 x86_64 User : ftechme ( 1002) PHP Version : 8.2.32 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/ftechme/public_html/wp-content/plugins/polylang/src/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,
// 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 );
}
}