| Server IP : 194.30.32.123 / Your IP : 216.73.216.89 Web Server : Apache System : Linux eab357717bca 5.10.0-44-amd64 #1 SMP Debian 5.10.257-1 (2026-05-27) x86_64 User : ftpbegirale ( 1001) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /expert/htwebs/www.begirale.com/public/wp-content/plugins/polylang/modules/wpml/ |
Upload File : |
<?php
/**
* A class to inform about the WPML compatibility module in Polylang settings
*
* @since 1.8
*/
class PLL_Settings_WPML extends PLL_Settings_Module {
/**
* Constructor
*
* @since 1.8
*
* @param object $polylang polylang object
*/
public function __construct( &$polylang ) {
parent::__construct( $polylang, array(
'module' => 'wpml',
'title' => __( 'WPML Compatibility', 'polylang' ),
'description' => __( 'WPML compatibility mode of Polylang', 'polylang' ),
) );
}
/**
* Tells if the module is active
*
* @since 1.8
*
* @return bool
*/
public function is_active() {
return ! defined( 'PLL_WPML_COMPAT' ) || PLL_WPML_COMPAT;
}
}