PluginProbe
Protected Video / 2.0.4
Protected Video v2.0.4
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 2.0.4, at protected-video.php

46 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: https://github.com/AlecRust/protected-video
5 * Description: YouTube/Vimeo player that prevents easy sharing of the video.
6 * Version: 2.0.4
7 * Author: Alec Rust
8 * Author URI: https://www.alecrust.com/
9 * Requires PHP: 7.2
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', '2.0.4' );
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 * @SuppressWarnings("PHPMD.MissingImport")
38 *
39 * @return void
40 */
41 function protected_video_init() {
42 $plugin = new Protected_Video();
43 $plugin->init();
44 }
45 protected_video_init();
46