-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwp-plugin-update-server.php
More file actions
executable file
·50 lines (40 loc) · 1.37 KB
/
wp-plugin-update-server.php
File metadata and controls
executable file
·50 lines (40 loc) · 1.37 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
/**
* Plugin Name: WP Plugin Update Server
* Plugin URI: https://github.com/kyle-niemiec/wp-plugin-update-server
* Description: A solution to manage your own, personal plugin repository, integrated with GitHub.
* Version: 1.6.1
* Author: Kyle Niemiec
* Author URI: https://codeflower.io/
* Text Domain: wporg
* Domain Path: /languages
*
* Copyright: (c) 2008-2020, DesignInk, LLC (answers@designinkdigital.com)
* Copyright: (c) 2026, Kyle Niemiec (kyle@codeflower.io)
*
* License: GNU General Public License v3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/
namespace Plugin_Update_Server\v1_6_1;
defined( 'ABSPATH' ) or exit;
use WPPF\Update_Helper\v1_0_2\Plugin_Update_List;
use WPPF\v1_2_3\WordPress\Plugin;
// Include the WordPress plugin framework
require_once __DIR__ . '/vendor/kyle-niemiec/wp-plugin-framework/index.php';
// Include the plugin update helper
require_once __DIR__ . '/vendor/kyle-niemiec/wppf-update-helper/index.php';
if ( ! class_exists( '\Plugin_Update_Server\v1_6_1\WP_Plugin_Update_Server', false ) ) {
/**
* The plugin wrapper class.
*/
final class WP_Plugin_Update_Server extends Plugin {
/**
* Plugin entry point
*/
final public static function construct() {
Plugin_Update_List::add_plugin( 'wp-plugin-update-server', 'https://codeflower.io/' );
}
}
// Start it up.
WP_Plugin_Update_Server::instance();
}