-
Notifications
You must be signed in to change notification settings - Fork 0
/
h5p.php
42 lines (38 loc) · 1.24 KB
/
h5p.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
<?php
/**
* H5P Plugin.
*
* Eases the creation and insertion of rich interactive content
* into you blog. Find content libraries at http://h5p.org
*
* @package H5P
* @author Joubel <[email protected]>
* @license MIT
* @link http://joubel.com
* @copyright 2014 Joubel
*
* @wordpress-plugin
* Plugin Name: H5P
* Plugin URI: http://h5p.org/wordpress
* Description: Allows you to upload, create, share and use rich interactive content on your WordPress site.
* Version: 1.15.8
* Author: Joubel
* Author URI: http://joubel.com
* Text Domain: h5p
* License: MIT
* License URI: http://opensource.org/licenses/MIT
* Domain Path: /languages
*/
// If this file is called directly, abort.
if (!defined('WPINC')) {
die;
}
require_once plugin_dir_path(__FILE__) . 'autoloader.php';
// Public-Facing Functionality
register_activation_hook(__FILE__, array('H5P_Plugin', 'activate'));
register_deactivation_hook( __FILE__, array('H5P_Plugin', 'deactivate'));
add_action('plugins_loaded', array('H5P_Plugin', 'get_instance'));
// Dashboard and Administrative Functionality
if (is_admin()) {
add_action('plugins_loaded', array('H5P_Plugin_Admin', 'get_instance'));
}