PluginProbe
Polylang / 3.8.4
Polylang v3.8.4
3.8.9 3.8.8 3.8.7 3.8.6 3.8.5 3.8.4 3.8.3 2.7 2.7.0.1 2.7.1 2.7.2 2.7.3 2.7.4 2.8 2.8.1 2.8.2 2.8.3 2.8.4 2.9 2.9.1 2.9.2 3.0 3.0.1 3.0.2 3.0.3 All 233 releases
polylang / src / integrations / duplicate-post / load.php

load.php in Polylang 3.8.4, at src/integrations/duplicate-post/load.php

22 lines 401 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Loads the integration with Duplicate Post.
4 *
5 * @package Polylang
6 */
7
8 if ( ! defined( 'ABSPATH' ) ) {
9 exit; // Don't access directly.
10 }
11
12 add_action(
13 'plugins_loaded',
14 function () {
15 if ( defined( 'DUPLICATE_POST_CURRENT_VERSION' ) ) {
16 PLL_Integrations::instance()->duplicate_post = new PLL_Duplicate_Post();
17 PLL_Integrations::instance()->duplicate_post->init();
18 }
19 },
20 0
21 );
22