| 1 |
<?php |
| 2 |
|
| 3 |
/** |
| 4 |
Plugin Name: Polylang |
| 5 |
Plugin URI: https://polylang.pro |
| 6 |
Version: 2.2.1 |
| 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.1' ); |
| 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 |
|