-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprotected-video.php
44 lines (40 loc) · 1.08 KB
/
protected-video.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
43
44
<?php
/**
* Plugin Name: Protected Video
* Plugin URI: http://github.com/AlecRust/protected-video
* GitHub Plugin URI: AlecRust/protected-video
* Description: YouTube/Vimeo player that prevents easy sharing of the video.
* Version: 1.11.6
* Author: Alec Rust
* Author URI: https://www.alecrust.com/
* License: GPL-2.0-or-later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: protected-video
*
* @package Protected_Video
* @author Alec Rust
* @link https://github.com/AlecRust/protected-video
*/
// Abort if this file is called directly.
if ( ! defined( 'WPINC' ) ) {
die();
}
/**
* Plugin version.
*/
define( 'PROTECTED_VIDEO_VERSION', '1.11.6' );
/**
* Load core plugin class defining all hooks.
*/
require_once plugin_dir_path( __FILE__ ) . 'includes/class-protected-video.php';
/**
* Begin plugin execution.
*
* @return void
* @SuppressWarnings(PHPMD.MissingImport)
*/
function protected_video_init() {
$plugin = new Protected_Video();
$plugin->init();
}
protected_video_init();