-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathploi-wordpress-integration.php
More file actions
33 lines (28 loc) · 1.01 KB
/
ploi-wordpress-integration.php
File metadata and controls
33 lines (28 loc) · 1.01 KB
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
<?php
/**
* Plugin Name: Ploi
* Description: Easily integrate Ploi and manage your site options and variables via this plugin or clear cache.
* Author: Ploi
* Author URI: https://ploi.io
* Version: 1.1.2
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
//load plugins functionallity and settings
require dirname(__FILE__).'/includes/ploi-wordpress-settings.php';
require dirname(__FILE__).'/includes/ploi-wordpress-functions.php';
require dirname(__FILE__).'/includes/ploi-wordpress-menubar.php';
require dirname(__FILE__).'/includes/ploi-wordpress-notices.php';
require dirname(__FILE__).'/includes/ploi-integrations.php';
//load plugin updater
require 'vendor/plugin-update-checker/plugin-update-checker.php';
use YahnisElsts\PluginUpdateChecker\v5\PucFactory;
$ploiUpdateChecker = PucFactory::buildUpdateChecker(
'https://github.com/ploi/ploi-wordpress-plugin/',
__FILE__,
'ploi-wordpress-plugin'
);
$ploiUpdateChecker->setBranch('master');
$ploiUpdateChecker->getVcsApi()->enableReleaseAssets();