PluginProbe
Polylang / 2.2
Polylang v2.2
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 / polylang.php

polylang.php in Polylang 2.2, at polylang.php

53 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 Plugin Name: Polylang
5 Plugin URI: https://polylang.pro
6 Version: 2.2
7 Author: Frédéric Demarle
8 Author uri: https://polylang.pro
9 Description: Adds multilingual capability to WordPress
10 Text Domain: polylang
11 Domain Path: /languages
12 */
13
14 /*
15 * Copyright 2011-2017 Frédéric Demarle
16 *
17 * This program is free software; you can redistribute it and/or modify
18 * it under the terms of the GNU General Public License as published by
19 * the Free Software Foundation; either version 2 of the License, or
20 * ( at your option ) any later version.
21 *
22 * This program is distributed in the hope that it will be useful,
23 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 * GNU General Public License for more details.
26 *
27 * You should have received a copy of the GNU General Public License
28 * along with this program; if not, write to the Free Software
29 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
30 * MA 02110-1301, USA.
31 *
32 */
33
34 if ( ! defined( 'ABSPATH' ) ) {
35 exit; // don't access directly
36 };
37
38 define( 'POLYLANG_VERSION', '2.2' );
39 define( 'PLL_MIN_WP_VERSION', '4.4' );
40
41 define( 'POLYLANG_FILE', __FILE__ ); // this file
42 define( 'POLYLANG_BASENAME', plugin_basename( POLYLANG_FILE ) ); // plugin name as known by WP
43 define( 'POLYLANG_DIR', dirname( POLYLANG_FILE ) ); // our directory
44
45 define( 'PLL_ADMIN_INC', POLYLANG_DIR . '/admin' );
46 define( 'PLL_FRONT_INC', POLYLANG_DIR . '/frontend' );
47 define( 'PLL_INC', POLYLANG_DIR . '/include' );
48 define( 'PLL_INSTALL_INC', POLYLANG_DIR . '/install' );
49 define( 'PLL_MODULES_INC', POLYLANG_DIR . '/modules' );
50 define( 'PLL_SETTINGS_INC', POLYLANG_DIR . '/settings' );
51
52 require_once PLL_INC . '/class-polylang.php';
53