forked from wpmovielibrary/wpmovielibrary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wpmovielibrary.php
45 lines (39 loc) · 1.2 KB
/
wpmovielibrary.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
45
<?php
/**
* wpMovieLibrary Bootstrap file.
*
* @link https://wpmovielibrary.com
* @since 3.0.0
* @package wpMovieLibrary
*
* @wordpress-plugin
* Plugin Name: wpMovieLibrary
* Plugin URI: https://wpmovielibrary.com
* Description: WordPress Movie Library is an advanced movie library managing plugin to turn your WordPress Blog into a Movie Library.
* Version: 3.0.0-beta
* Author: Charlie Merland
* Author URI: https://charliemerland.me/
* License: GPL-3.0+
* License URI: http://www.gnu.org/licenses/gpl-3.0.txt
* Text Domain: wpmovielibrary
* Domain Path: /languages
*/
// Make sure we don't expose any info if called directly
if ( ! function_exists( 'add_action' ) ) {
exit;
}
define( 'WPMOLY_VERSION', '3.0.0-beta' );
define( 'WPMOLY_PATH', trailingslashit( plugin_dir_path( __FILE__ ) ) );
define( 'WPMOLY_URL', trailingslashit( plugin_dir_url( __FILE__ ) ) );
require_once WPMOLY_PATH . 'class-wpmovielibrary.php';
/**
* Retrieve plugin instance.
*
* @since 3.0.0
*
* @return wpMovieLibrary
*/
function wpmovielibrary() {
return wpMovieLibrary::get_instance();
}
$GLOBALS['wpmovielibrary'] = wpmovielibrary();