| Server IP : 82.208.35.60 / Your IP : 216.73.217.33 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/janousekadvokat_cz/www/wp-content/plugins/polylang/modules/sync/ |
Upload File : |
<?php
/**
* Loads the module for general synchronization such as metas and taxonomies.
*
* @package Polylang
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Don't access directly
}
if ( $polylang->model->has_languages() ) {
if ( $polylang instanceof PLL_Admin_Base ) {
$polylang->sync = new PLL_Admin_Sync( $polylang );
} else {
$polylang->sync = new PLL_Sync( $polylang );
}
add_filter(
'pll_settings_modules',
function ( $modules ) {
$modules[] = 'PLL_Settings_Sync';
return $modules;
}
);
}