-
Notifications
You must be signed in to change notification settings - Fork 14
/
wp101.php
55 lines (48 loc) · 1.78 KB
/
wp101.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
46
47
48
49
50
51
52
53
54
55
<?php
/**
* Plugin Name: WP101 Video Tutorial Plugin
* Plugin URI: https://wp101plugin.com
* Description: A complete set of video tutorials for WordPress, WooCommerce, and more... delivered directly in the dashboard.
* Version: 5.4.1
* Author: WP101®
* Author URI: https://wp101.com
* Text Domain: wp101
* Requires at least: 5.1
* Requires PHP: 5.4
* License: GPL-2.0-or-later
*
* @package WP101
*/
define( 'WP101_INC', __DIR__ . '/includes' );
define( 'WP101_VIEWS', __DIR__ . '/views' );
define( 'WP101_URL', plugins_url( '', __FILE__ ) );
define( 'WP101_BASENAME', plugin_basename( __FILE__ ) );
define( 'WP101_VERSION', '5.4.0' );
require_once WP101_INC . '/admin.php';
require_once WP101_INC . '/class-api.php';
require_once WP101_INC . '/class-wp101-plugin.php';
require_once WP101_INC . '/deprecated.php';
//require_once WP101_INC . '/migrate.php';
require_once WP101_INC . '/shortcode.php';
require_once WP101_INC . '/template-tags.php';
require_once WP101_INC . '/uninstall.php';
/**
* Forego the add-ons include if the site owner has opted-out of these sorts of notifications.
*
* @link https://codex.wordpress.org/Plugin_API/Action_Reference/admin_notices#Disable_Nag_Notices
*/
//if ( ! defined( 'DISABLE_NAG_NOTICES' ) || ! DISABLE_NAG_NOTICES ) {
// require_once WP101_INC . '/addons.php';
//}
/**
* When the plugin is activated, check to see if it needs migrating from earlier versions.
*/
//register_activation_hook( __FILE__, 'WP101\Migrate\maybe_migrate' );
/**
* When the plugin is deactivated, flush caches.
*/
register_deactivation_hook( __FILE__, 'WP101\Uninstall\clear_caches' );
/**
* Register the uninstall callback.
*/
register_uninstall_hook( __FILE__, 'WP101\Uninstall\uninstall_plugin' );