-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwindows-azure-storage-migrate.php
45 lines (39 loc) · 1.36 KB
/
windows-azure-storage-migrate.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
/**
* Plugin Name: Microsoft Azure Storage Migration for WordPress
* Version: 1.0.0
* Plugin URI: https://wordpress.org/plugins/windows_azure_storage_migrate/
* Description: This will add the ability to migration existing media files to azure for Microsoft Azure Storage for WordPress. This requires the Microsoft Azure Storage for WordPress plugin.
* Author: Phlux Apps LLC.
* Author URI: http://www.phluxapps.com/
*
* Text Domain: windows-azure-storage-migrate
* Domain Path: /lang/
*
* @category WordPress_Plugin
* @package Windows_Azure_Storage_Migration_For_WordPress
* @author Phlux Apps LLC.
* @copyright Phlux Apps LLC.
* @link http://www.phluxapps.com
* @since 1.0.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
// Load plugin class files.
require_once 'includes/class-windows-azure-storage-migrate.php';
require_once 'includes/class-windows-azure-storage-migrate-runner.php';
/**
* Returns the main instance of Windows_Azure_Storage_Migrate to prevent the need to use globals.
*
* @since 1.0.0
* @return object Windows_Azure_Storage_Migrate
*/
function windows_azure_storage_migrate() {
$instance = Windows_Azure_Storage_Migrate::instance( __FILE__, '1.0.0' );
if ( is_null( $instance->runner ) ) {
$instance->runner = Windows_Azure_Storage_Migrate_Runner::instance( $instance );
}
return $instance;
}
windows_azure_storage_migrate();