forked from VaLeXaR/wp-multilang
-
Notifications
You must be signed in to change notification settings - Fork 1
/
wp-multilang.php
37 lines (31 loc) · 908 Bytes
/
wp-multilang.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
/**
* Plugin Name: WP Multilang
* Plugin URI: https://github.com/VaLeXaR/wp-multilang
* GitHub Plugin URI: https://github.com/VaLeXaR/wp-multilang
* Description: Multilingual plugin for WordPress
* Author: Valentyn Riaboshtan
* License: GPL2
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: wp-multilang
* Domain Path: /languages
* Version: 2.3.0
* Copyright: © 2017-2018 Valentyn Riaboshtan
*
* @package WPM
* @category Core
* @author Valentyn Riaboshtan
*/
use WPM\Includes\WP_Multilang;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
// Define WPM_PLUGIN_FILE.
if ( ! defined( 'WPM_PLUGIN_FILE' ) ) {
define( 'WPM_PLUGIN_FILE', __FILE__ );
}
require_once __DIR__ . '/vendor/autoload.php';
function wpm() {
return WP_Multilang::instance();
}
wpm();