Code

< 40 %
40-60 %
> 60 %
1
<?php
2
/**
3
 * Plugin Name: WP Hydra
4
 * Plugin URI: https://wordpress.org/plugins/wp-hydra/
5
 * Description: Allows one WordPress installation to be resolved and browsed at multiple domains.
6
 * Version: 1.2
7
 * Author: tyxla
8
 * Author URI: http://marinatanasov.com/
9
 * License: GPL2
10
 * Requires at least: 4.0
11
 * Tested up to: 5.1
12
 *
13
 * @package wp-hydra
14
 */
15
16
// Exit if accessed directly.
17
if ( ! defined( 'ABSPATH' ) ) {
18
	exit;
19
}
20
21
// Load main class.
22
include_once( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'class-wp-hydra.php' );
23
24
// initialize WP Hydra - Polycephaly FTW!
25
global $wp_hydra;
26
$wp_hydra = new WP_Hydra();
27