-
Notifications
You must be signed in to change notification settings - Fork 0
/
Wp-sync.php
31 lines (27 loc) · 1.04 KB
/
Wp-sync.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
<?php
/**
* Plugin Name: Synchronizer
* Plugin URI: https://yhello.co
* Description: Sync contents from child sites to a central one. Also does few more things.
* Version: 1.0
* Author: Yhello
* Author URI: https://yhello.co
* Text Domain: synchronizer
* Domain Path: /languages
* Requires at least: 5.0
* Tested up to: 5.2.2
*
* @link https://yhello.co
* @since 1.0
* @package Wp-sync
*/
defined( 'ABSPATH' ) || die( 'Exit when access directly' );
define( 'WP_SYNC_VERSION', '0.0.1' );
define( 'WP_SYNC_PRIVATE_KEY', false );
define( 'WP_SYNC_FILE', __FILE__ );
define( 'WP_SYNC_PATH', realpath( plugin_dir_path( WP_SYNC_FILE ) ) . '/' );
define( 'WP_SYNC_INC_PATH', realpath( WP_SYNC_PATH . 'inc/' ) . '/' );
define( 'WP_SYNC_DEBUG', true);
// These will be displayed on admin page
require WP_SYNC_INC_PATH . 'functions.php';
require WP_SYNC_INC_PATH . 'main.php';