forked from vimes1984/video_sitemap
/
video-sitemap.php
37 lines (33 loc) · 1.04 KB
/
video-sitemap.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
<?php
/**
* Video sitemap
*
* Create a xml video sitemap file
*
* @package video-sitemap
* @author bawd <churchill.c.j@gmail.com>
* @license GPL-2.0+
* @link http://www.accruemarketing.com/
* @copyright 4-4-2015 BAWD
*
* @wordpress-plugin
* Plugin Name: Simple video sitemap generator
* Plugin URI: http://buildawebdoctor.com
* Description: Create a xml video sitemap file
* Version: 1.2.7
* Author: Accrue
* Author URI: http://www.accruemarketing.com/
* Text Domain: video-sitemap-locale
* 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__) . "VideoSitemap.php");
// Register hooks that are fired when the plugin is activated, deactivated, and uninstalled, respectively.
register_activation_hook(__FILE__, array("VideoSitemap", "activate"));
register_deactivation_hook(__FILE__, array("VideoSitemap", "deactivate"));
VideoSitemap::get_instance();