PluginProbe
Interactive Content – H5P / trunk
Interactive Content – H5P vtrunk
1.17.9 1.17.8 1.4.1 1.7.4 1.7.5 1.7.6 1.7.7 trunk 1.0.0 1.1.0 1.14.0 1.14.1 1.15.7 1.15.8 1.16.0 1.17.2 1.17.3 1.17.4 1.17.5 1.17.6 1.17.7 1.2.0 1.2.1 1.2.2 1.3.0 All 26 releases
h5p / h5p.php

h5p.php in Interactive Content – H5P trunk, at h5p.php

43 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * H5P Plugin.
4 *
5 * Eases the creation and insertion of rich interactive content
6 * into you blog. Find content libraries at http://h5p.org
7 *
8 * @package H5P
9 * @author Joubel <contact@joubel.com>
10 * @license MIT
11 * @link http://joubel.com
12 * @copyright 2014 Joubel
13 *
14 * @wordpress-plugin
15 * Plugin Name: H5P
16 * Plugin URI: http://h5p.org/wordpress
17 * Description: Allows you to upload, create, share and use rich interactive content on your WordPress site.
18 * Version: 1.17.9
19 * Author: Joubel
20 * Author URI: http://joubel.com
21 * Text Domain: h5p
22 * License: MIT
23 * License URI: http://opensource.org/licenses/MIT
24 * Domain Path: /languages
25 */
26
27 // If this file is called directly, abort.
28 if (!defined('WPINC')) {
29 die;
30 }
31
32 require_once plugin_dir_path(__FILE__) . 'autoloader.php';
33
34 // Public-Facing Functionality
35 register_activation_hook(__FILE__, array('H5P_Plugin', 'activate'));
36 register_deactivation_hook( __FILE__, array('H5P_Plugin', 'deactivate'));
37 add_action('plugins_loaded', array('H5P_Plugin', 'get_instance'));
38
39 // Dashboard and Administrative Functionality
40 if (is_admin()) {
41 add_action('plugins_loaded', array('H5P_Plugin_Admin', 'get_instance'));
42 }
43