| Server IP : 195.130.67.5 / Your IP : 216.73.216.74 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/prosvasi/wp-content/plugins/polylang/src/integrations/duplicate-post/ |
Upload File : |
<?php
/**
* Loads the integration with Duplicate Post.
*
* @package Polylang
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Don't access directly.
}
add_action(
'plugins_loaded',
function () {
if ( defined( 'DUPLICATE_POST_CURRENT_VERSION' ) ) {
PLL_Integrations::instance()->duplicate_post = new PLL_Duplicate_Post();
PLL_Integrations::instance()->duplicate_post->init();
}
},
0
);