PluginProbe
Interactive Content – H5P / 1.7.5
Interactive Content – H5P v1.7.5
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 1.7.5, at h5p.php

44 lines 1.3 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.7.5
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 * GitHub Plugin URI: https://github.com/h5p/h5p-wordpress
26 */
27
28 // If this file is called directly, abort.
29 if (!defined('WPINC')) {
30 die;
31 }
32
33 require_once plugin_dir_path(__FILE__) . 'autoloader.php';
34
35 // Public-Facing Functionality
36 register_activation_hook(__FILE__, array('H5P_Plugin', 'activate'));
37 register_deactivation_hook( __FILE__, array('H5P_Plugin', 'deactivate'));
38 add_action('plugins_loaded', array('H5P_Plugin', 'get_instance'));
39
40 // Dashboard and Administrative Functionality
41 if (is_admin()) {
42 add_action('plugins_loaded', array('H5P_Plugin_Admin', 'get_instance'));
43 }
44