b0y-101 Mini Shell


Current Path : E:/www3/chiangrai/wp-content/plugins/polylang/integrations/duplicate-post/
File Upload :
Current File : E:/www3/chiangrai/wp-content/plugins/polylang/integrations/duplicate-post/load.php

<?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
);

Copyright © 2019 by b0y-101