forked from TryGhost/wp-ghost-exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathghost.php
More file actions
executable file
·36 lines (32 loc) · 1.06 KB
/
ghost.php
File metadata and controls
executable file
·36 lines (32 loc) · 1.06 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
<?php
/**
* WordPress to Ghost exporter
*
* @package Ghost
* @author Ghost Foundation
* @license GPL-2.0+
* @link http://ghost.org
* @copyright 2014 Ghost Foundation
*
* @ghost
* Plugin Name: Ghost
* Plugin URI: http://ghost.org
* Description: Plugin to export your WordPress blog so you can import it into your Ghost installation
* Version: 0.5.5
* Author: Ghost Foundation
* Author URI: http://ghost.org
* Text Domain: wp2ghost
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Domain Path: /lang
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
require_once( plugin_dir_path( __FILE__ ) . 'lib/html-to-markdown/HTML-To-Markdown.php' );
require_once( plugin_dir_path( __FILE__ ) . 'class-ghost.php' );
// Register hooks that are fired when the plugin is activated, deactivated, and uninstalled, respectively.
register_activation_hook( __FILE__, array( 'Ghost', 'activate' ) );
register_deactivation_hook( __FILE__, array( 'Ghost', 'deactivate' ) );
Ghost::get_instance();