PluginProbe
Protected Video / 1.11.6
Protected Video v1.11.6
trunk 1.10.10 1.10.7 1.10.8 1.10.9 1.11.0 1.11.1 1.11.2 1.11.3 1.11.4 1.11.5 1.11.6 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4
protected-video / protected-video.php

protected-video.php in Protected Video 1.11.6, at protected-video.php

45 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: Protected Video
4 * Plugin URI: http://github.com/AlecRust/protected-video
5 * GitHub Plugin URI: AlecRust/protected-video
6 * Description: YouTube/Vimeo player that prevents easy sharing of the video.
7 * Version: 1.11.6
8 * Author: Alec Rust
9 * Author URI: https://www.alecrust.com/
10 * License: GPL-2.0-or-later
11 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
12 * Text Domain: protected-video
13 *
14 * @package Protected_Video
15 * @author Alec Rust
16 * @link https://github.com/AlecRust/protected-video
17 */
18
19 // Abort if this file is called directly.
20 if ( ! defined( 'WPINC' ) ) {
21 die();
22 }
23
24 /**
25 * Plugin version.
26 */
27 define( 'PROTECTED_VIDEO_VERSION', '1.11.6' );
28
29 /**
30 * Load core plugin class defining all hooks.
31 */
32 require_once plugin_dir_path( __FILE__ ) . 'includes/class-protected-video.php';
33
34 /**
35 * Begin plugin execution.
36 *
37 * @return void
38 * @SuppressWarnings(PHPMD.MissingImport)
39 */
40 function protected_video_init() {
41 $plugin = new Protected_Video();
42 $plugin->init();
43 }
44 protected_video_init();
45