Advertisement
Guest User

Untitled

a guest
Nov 3rd, 2010
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.58 KB | None | 0 0
  1. <?php
  2. /*
  3. Plugin Name: TTXML
  4. Plugin URI: http://ani2life.com
  5. Description: TTXML 임포터입니다.
  6. Author: ani2life
  7. Author URI: http://ani2life.com
  8. Version: 0.2
  9. */
  10.  
  11.  
  12. if ( !defined('WP_LOAD_IMPORTERS') )
  13.     return;
  14.  
  15. // Load Importer API
  16. require_once ABSPATH . 'wp-admin/includes/import.php';
  17.  
  18. if ( !class_exists( 'WP_Importer' ) ) {
  19.     $class_wp_importer = ABSPATH . 'wp-admin/includes/class-wp-importer.php';
  20.     if ( file_exists( $class_wp_importer ) )
  21.         require_once $class_wp_importer;
  22. }
  23.  
  24.  
  25. /**
  26.  * TTXML Importer
  27.  *
  28.  * @package WordPress
  29.  * @subpackage Importer
  30.  */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement