-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathedd-remote-installer-client.php
More file actions
42 lines (40 loc) · 1.3 KB
/
edd-remote-installer-client.php
File metadata and controls
42 lines (40 loc) · 1.3 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
<?php
/**
* Plugin Name: EDD Remote Installer Client
* Plugin URI: https://presscodes.com
* Author: Aristeides Stathopoulos
* Author URI: http://aristath.github.io
* Version: 1.0
* Text Domain: eddri-client
*
* @package EDD Remote Installer Server
* @category Core
* @author Aristeides Stathopoulos
* @version 1.0
*/
if ( ! class_exists( 'EDD_Remote_Installer' ) ) {
require_once 'inc/class-edd-remote-installer.php';
}
if ( ! class_exists( 'EDD_Remote_Installer_Admin_Page' ) ) {
require_once 'inc/class-edd-remote-installer-admin-page.php';
}
if ( ! class_exists( 'EDD_Remote_Installer_API' ) ) {
require_once 'inc/class-edd-remote-installer-api.php';
}
if ( ! class_exists( 'EDD_Remote_Installer_Actions' ) ) {
require_once 'inc/class-edd-remote-installer-actions.php';
}
if ( ! class_exists( 'EDD_Remote_Installer_Plugin_Install' ) ) {
require_once 'inc/class-edd-remote-installer-plugin-install.php';
}
EDD_Remote_Installer::get_instance(
array(
'api_url' => 'https://presscodes.com',
'slug' => 'presscodes',
/* translators: PressCodes (company name). */
'title' => sprintf( esc_attr__( '%s Plugins', 'eddri' ), 'PressCodes' ),
'permissions' => 'manage_options',
'eddri_url' => plugins_url( '', __FILE__ ),
'account_page' => 'https://presscodes.com/account/'
)
);